Skip to main content
CVE-2025-59420VulnerabilityPublished Updated

Python authlib: Prior to version 1.6.4, Authlib’s JWS verification accepts tokens that declare unknown critical header

Affects python-authlibSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.5 High · fixed in 0.15.5-1ubuntu0.1~esm1 : patch python-authlib soon.

Data as of 24 Nov 2026, 20:10 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.15.5-1ubuntu0.1~esm1, 1.3.0-1ubuntu0.1~esm1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade the Ubuntu python-authlib to 0.15.5-1ubuntu0.1~esm1 (package) or 1.3.0-1ubuntu0.1~esm1 (package).

Affected software

ProductAffectedFixed in
Ubuntu 26.10python-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=stonkingOther threatsAffected
  • =1.6.7-1
  • =1.7.2-1
  • =1.7.2-2
Fixed in–
Ubuntu Pro 26.04 LTSpython-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • 1.6.0-1 – 1.6.7-1ubuntu0.1~esm1
5 affected builds
Fixed in–
Ubuntu 25.10python-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=questingOther threatsAffected
  • =1.5.1-1
  • =1.5.2-1
  • =1.6.0-1
Fixed in–
Ubuntu Pro 24.04 LTSpython-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <1.3.0-1ubuntu0.1~esm1
Fixed in
  • 1.3.0-1ubuntu0.1~esm1
Ubuntu Pro 22.04 LTSpython-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <0.15.5-1ubuntu0.1~esm1
Fixed in
  • 0.15.5-1ubuntu0.1~esm1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…