CVE-2025-59420CWE-345CWE-863broken-access-control

CVE-2025-59420

High · published September 22, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
17.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00262 · 17.0th percentile
Weaknesses
CWE-345 · Insufficient Verification of Data Authenticity; CWE-863 · Incorrect Authorization
Published
2025-09-22T22:15Z
Affected products (1)
ProductVersionsFixed in
authlib/authlib< 1.6.41.6.4
References (3)
EPSS history
Timeline
  • 22 SEP 17:28Z
    Authlib: JWS/JWT accepts unknown crit headers (RFC violation → possible authz bypass)
    cvelistv5