Live threats

All CVEs / Authlib

CVE-2025-59420Authlib

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Sep 22, 2025
Updated
Oct 19, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-345, CWE-863
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Authlib.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI authlib < 1.6.4 1.6.4 pip install "authlib>=1.6.4"
PyPI authlib < 1.6.4 1.6.4 pip install "authlib>=1.6.4"

Per OSV / GitHub Advisories (GHSA-9ggr-2464-2j32, PYSEC-2026-1200). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
authlibauthlib< 1.6.4

Official sources

References

Links published by the sources. Open them with care.