Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2025-59420
VULNERABILITY

CVE-2025-59420

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
7.5
Severity
HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Timeline

Published
Sep 22, 2025 18:15
Modified
Oct 19, 2026 16:10
Last observed
Oct 20, 2026 19:28

CWE

CWE-345CWE-863

Affected product identifiers

cpe:2.3:a:authlib:authlib:*:*:*:*:*:*:*:*

References