Skip to main content
← All vulnerabilities
CVE-2025-59420GHSA-9GGR-2464-2J32PYSEC-2026-1200

Authlib: JWS/JWT accepts unknown crit headers (RFC violation → possible authz bypass)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.6.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • authlib authlib

    fixed in 1.6.4

  • authlibPyPI

    fixed in 1.6.4

References 2

GitHub · authlib/authlib