CVE-2025-59420

HIGH

Authlib < 1.6.4 - Insufficient Verification of Data Authenticity via Critical Header Parameter Bypass

Title source: llm
STIX 2.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.

Scores

CVSS v3 7.5
EPSS 0.0025
EPSS Percentile 15.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-345 CWE-863
Status published
Products (2)
authlib/authlib < 1.6.4
pypi/authlib 0 - 1.6.4PyPI
Published Sep 22, 2025
Tracked Since Feb 18, 2026