CVE-2025-59420
HIGH 7.5CVSS 3.1Authlib: 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
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | authlib | authlibcpe:2.3:a:authlib:authlib:*:*:*:*:*:*:*:* |
< 1.6.4 | 1.6.4 |
| OSV | PyPI | authlib | < 1.6.4 | 1.6.4 |
References
- https://github.com/authlib/authlib/commit/6b1813e4392eb7c168c276099ff7783b176479df · Patch, WEB
- https://github.com/authlib/authlib/security/advisories/GHSA-9ggr-2464-2j32 · Exploit, Vendor Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2025/10/msg00032.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-59420 · ADVISORY
- https://github.com/authlib/authlib · PACKAGE
- https://pypi.org/project/authlib · PACKAGE
- https://github.com/advisories/GHSA-9ggr-2464-2j32 · ADVISORY
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)