CVE Catalog

CVE-2025-59420

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.26%

17th percentile - higher than 17% of all known CVEs

Summary

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 that strict verifiers reject but Authlib accepts, enabling split-brain verification in mixed-language fleets and potentially leading to policy bypass, replay, or privilege escalation. This is patched in version 1.6.4.

Risk Assessment

In environments with heterogeneous token verification implementations, an attacker can exploit split-brain verification to bypass policies, replay tokens, or escalate privileges. This may undermine trust in authentication mechanisms built on Authlib.

Recommendation

Update Authlib to version 1.6.4 or later. Ensure all token-verifying components apply consistent handling of critical headers.

Other vulnerabilities in Authlib

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS