Security Resilience

CVE-2025-59420

Access Control in Authlib ≤ 1.6.4

Public PoCAccess Control
Published
22 September 2025
Modified
19 October 2026
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS Score 0.0029 21th percentile
Risk Priority 56 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-59420 is a high-severity Insufficient Verification of Data Authenticity (CWE-345) vulnerability in Authlib. Its CVSS base score is 7.5 (High).

Operationally, ranked at the 21th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-24 (Access Control Decisions) and AC-25 (Reference Monitor) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-44681Same product: Authlib Authlib
CVE-2025-62706Same product: Authlib Authlib
CVE-2026-28490Same product: Authlib Authlib
CVE-2026-41425Same product: Authlib Authlib
CVE-2026-41479Same product: Authlib Authlib
CVE-2024-37568Same product: Authlib Authlib
CVE-2025-68158Same product: Authlib Authlib
CVE-2026-114616Same product: Authlib Authlib
CVE-2026-27962Same product: Authlib Authlib
CVE-2025-61920Same product: Authlib Authlib

Affected Assets

authlib
authlib
≤ 1.6.4

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

AC-3 directly requires correct enforcement of authorization decisions on every access request, structurally preventing incorrect checks.

Explicit requirement to protect session authenticity structurally prevents the weakness for communications.

AC-24 ensures access-control decisions are made and applied consistently, reducing the chance of an incorrect authorization result.

A reference monitor that is always invoked and tamper-proof forces every authorization decision through a verified, correct path.

Integrity verification tools detect (but do not stop) the acceptance of data lacking authenticity.

Least-privilege assignments shrink the set of authorizations that must be checked correctly, limiting exposure to flawed checks.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect missing or weak data authenticity verification.

prevents

Secure coding practices include implementing proper data authenticity checks.

blocks

A.8.3's access restriction mechanisms, including granular per-user and per-identity controls, directly enforce correct authorization checks, preventing exploitation of incorrect authorization flaws.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-345, a class-level weakness. Rules are authored against its narrower children: CWE-347, CWE-348, CWE-349, CWE-353, CWE-354, CWE-494, CWE-649, CWE-924.
  • No fine-grained STIG row for CWE-863, a class-level weakness, and none of its children carries one either.

References