StraitOfVuln
Latest / CVE-2025-59420

CVE-2025-59420

HighCVSS 7.5 (v3.1)Modified
CVE.org ↗NVD ↗Vendor advisory ↗

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.

Details

CVE ID
CVE-2025-59420
Published / updated
22 Sept 2025, 18:15 UTC · last modified 19 Oct 2026, 16:10 UTC
Severity
HIGH
CVSS score
7.5 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N · Attack vector: Network
Affected vendor
Affected products
Authlib
Affected versions
Authlib: < 1.6.4
Fixed versions
authlib 1.6.4
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.29% probability of exploitation in the next 30 days · 23% percentile (03 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (authlib 1.6.4) per the vendor advisory.
Source (CNA)
security-advisories@github.com