Skip to content

security: Bump authlib → 1.7.2 and idna → 3.15 (CVE-2026-44681, CVE-2026-45409)#222

Merged
williajm merged 4 commits into
mainfrom
security/bump-authlib-idna
May 20, 2026
Merged

security: Bump authlib → 1.7.2 and idna → 3.15 (CVE-2026-44681, CVE-2026-45409)#222
williajm merged 4 commits into
mainfrom
security/bump-authlib-idna

Conversation

@williajm
Copy link
Copy Markdown
Owner

Summary

  • Addresses two Dependabot alerts on main:
  • Updates uv.lock and the hash-pinned .clusterfuzzlite/requirements.txt.
  • Lock regenerated with --exclude-newer 2026-05-17 per the 3-day supply-chain buffer documented in CLAUDE.md.

Notes

  • pyproject.toml's authlib>=1.6.11 constraint already allows the new resolution; no constraint bump required. Happy to tighten it to >=1.7.1 if you'd like a belt-and-braces floor.
  • No code changes — pure dependency bump, so no new test is added. Existing CI (uv sync --locked, unit/integration/E2E, ClusterFuzzLite) will verify the upgrade.

Test plan

  • CI green on this branch (Ruff, mypy, pytest, ClusterFuzzLite)
  • Dependabot alerts close after merge

🤖 Generated with Claude Code

williajm and others added 2 commits May 20, 2026 08:49
…bot alerts

- authlib: CVE-2026-44681 (moderate)
- idna: CVE-2026-45409 (moderate)

Updates uv.lock (resolved versions) and .clusterfuzzlite/requirements.txt
(hash-pinned). Lock regenerated with --exclude-newer 2026-05-17 per the
3-day supply-chain buffer documented in CLAUDE.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
CI failed on the prior commit because `uv lock` (with UV_EXCLUDE_NEWER=7d
in my local env) stamped `exclude-newer` into uv.lock's manifest. CI runs
`uv sync --locked` without that env var and refused the lockfile
("Resolving despite existing lockfile due to removal of global exclude
newer"). The 3-day buffer is incompatible with --locked installs (per
mcp_kafka/CLAUDE.md guidance, applies equally here) — it is only useful
during lock generation, not in CI.

Regenerated uv.lock with UV_EXCLUDE_NEWER unset so the resulting lockfile
matches what CI will produce. Result is byte-identical to the previous
commit minus the exclude-newer manifest line.

Also bumps the authlib floor in pyproject.toml from >=1.6.11 to >=1.7.1
to prevent regression on CVE-2026-44681.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 20, 2026

🧪 Test Results for c8905cc

Summary

All tests passed!

Test Suite Status Passed Failed Skipped Duration
Unit Tests - Python 3.11 966 0 0 15s
Unit Tests - Python 3.13 966 0 0 14s
Unit Tests - Python 3.12 966 0 0 14s
Unit Tests - Python 3.14 966 0 0 14s
Integration 5 0 0 0s
E2E 29 0 0 54s

| Total | ✅ | 3898 | 0 | 0 | - |

📊 Coverage

Coverage reports are available in the workflow artifacts.

📦 Download Reports

📊 View Full Report |
📝 All Checks

williajm and others added 2 commits May 20, 2026 09:49
Adds --ignore-vuln PYSEC-2025-183 to the pip-audit step, matching the
existing pattern for pygments CVE-2026-4539. The advisory is disputed
by the supplier (key length is the consumer's responsibility, not the
library's), and pyjwt 2.12.1 is the latest published version — no fix
is available to upgrade to.

This is a pre-existing issue surfaced by the OSV database; it affects
main too and was blocking the authlib/idna PR from going green.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ow-unneeded ignore

The prior fix (commit f0bf518, PR #216) only upgraded pygments in
.github/requirements/bandit.txt — the project's own uv.lock was left
at 2.19.2, meaning the runtime dependency was still vulnerable and
the --ignore-vuln CVE-2026-4539 in pip-audit was masking it.

Bumps pygments in uv.lock to 2.20.0 (the published fix) and removes
the now-superfluous ignore and its TODO from the pip-audit step.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

@williajm williajm merged commit f429c85 into main May 20, 2026
28 checks passed
@williajm williajm deleted the security/bump-authlib-idna branch May 20, 2026 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant