CVE-2025-59420
published high CVSS 3.1 · 7.5Authlib: JWS/JWT accepts unknown crit headers (RFC violation → possible authz bypass)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| authlib | — | authlib< 1.6.4 | Affected | Not stated | GitHub_M |
| Debian | bullseye | python-authlib | Advisory build | 0.15.4-1+deb11u1 | DLA-4352-1 |
| Ubuntu | jammy | python-authlib | Advisory build | 0.15.5-1ubuntu0.1~esm1 | USN-8065-1 |
| Ubuntu | jammy | python3-authlib | Advisory build | 0.15.5-1ubuntu0.1~esm1 | USN-8065-1 |
| Ubuntu | noble | python-authlib | Advisory build | 1.3.0-1ubuntu0.1~esm1 | USN-8065-1 |
| Ubuntu | noble | python3-authlib | Advisory build | 1.3.0-1ubuntu0.1~esm1 | USN-8065-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| authlib | authlib | < 1.6.4 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-345 CWE-345: Insufficient Verification of Data Authenticity
- CWE-863 CWE-863: Incorrect Authorization
References
3Provider assertions
3GitHub_M · cna
Authlib: JWS/JWT accepts unknown crit headers (RFC violation → possible authz bypass)
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f69c4244937376ec39bf7a5b69c2519e1ce93d306b7590c4fdf0a4da7805b004
- Ingested
- 23 Sep 2026, 08:54:20 UTC
- Source record
- Official CVE record