cve.bz

CVE-2025-59420 authlib authlib: Incorrect Authorization

7.5 highExploit referenceEPSS 0.3%Fix available

High (7.5) in authlib authlib. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in authlib 1.6.4.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 21st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-09-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-345 Insufficient Verification of Data Authenticity
CWE-863 Incorrect Authorization
OWASP Top 10
A01:2025 Broken Access Control, A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-59420 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-59420?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-59420?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-59420 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
authlib:authlibbefore 1.6.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9ggr-2464-2j32PyPIauthlib<1.6.41.6.4
PYSEC-2026-1200PyPIauthlib<1.6.41.6.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11python-authlib0.15.4-1+deb11u1DLA-4352-1
Debian12python-authlib1.2.0-1+deb12u1DEBIAN-CVE-2025-59420
Debian13python-authlib1.6.0-1+deb13u1DEBIAN-CVE-2025-59420
Debian14python-authlib1.6.4-1DEBIAN-CVE-2025-59420
Ubuntu25.10, 26.10, Pro:26.04:LTSpython-authlibno fix listedUBUNTU-CVE-2025-59420
UbuntuPro:22.04:LTSpython-authlib0.15.5-1ubuntu0.1~esm1UBUNTU-CVE-2025-59420 USN-8065-1
UbuntuPro:24.04:LTSpython-authlib1.3.0-1ubuntu0.1~esm1UBUNTU-CVE-2025-59420 USN-8065-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Quay 3.10quay/quay-rhel8:3.10.17-1764168428Fixed 2025-11-26RHSA-2025:22182
Red Hat Quay 3.10quay/quay-rhel8:3.10.17-1765384144Fixed 2025-12-10RHSA-2025:23064
Red Hat Quay 3.12quay/quay-rhel8:3.12-1765361593Fixed 2025-12-10RHSA-2025:23028
Red Hat Quay 3.12quay/quay-rhel8:3.12-1765381502Fixed 2025-12-10RHSA-2025:23059
Red Hat Quay 3.12quay/quay-rhel8:3.12-1765382602Fixed 2025-12-10RHSA-2025:23060
Red Hat Quay 3.13quay/quay-rhel8:v3.13.10-1765782391Fixed 2025-12-15RHSA-2025:23176
Red Hat Quay 3.14quay/quay-rhel8:1773097621Fixed 2026-03-10RHSA-2026:4215
Red Hat Quay 3.15quay/quay-rhel8:1770146565Fixed 2026-02-04RHSA-2026:1942
Red Hat Quay 3.9quay/quay-rhel8:3.9-1764254756Fixed 2025-11-27RHSA-2025:22287
Red Hat Quay 3.9quay/quay-rhel8:3.9-1765382758Fixed 2025-12-10RHSA-2025:23061

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-59420.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-345 (12).

References

Check your stackJSON