Security mailing lists by PureSourceCode

CVE-2025-59420

HIGH 7.5CVSS 3.1

Authlib: JWS/JWT accepts unknown crit headers (RFC violation → possible authz bypass)

Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.4, Authlib’s JWS verification accepts tokens that declare unknown critical header parameters (crit), violating RFC 7515 “must‑understand” semantics. An attacker can craft a signed token with a critical header (for example, bork or cnf) that strict verifiers reject but Authlib accepts. In mixed‑language fleets, this enables split‑brain verification and can lead to policy bypass, replay, or privilege escalation. This issue has been patched in version 1.6.4.

Published
22 Sep 2025
Last modified
19 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-345CWE-863
Also known as
GHSA-9ggr-2464-2j32PYSEC-2026-1200
Sources
NVDJSONOSV GHSA-9ggr-2464-2j32JSONOSV PYSEC-2026-1200JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV PyPA CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD authlib authlib
cpe:2.3:a:authlib:authlib:*:*:*:*:*:*:*:*
< 1.6.4 1.6.4
OSV PyPI authlib < 1.6.4 1.6.4

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 22 Sep 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Sep 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.