BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2025-59420 in Authlib

High 7.5

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...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.5
EPSS0.3%
EPSS percentile20th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Authlib Authlib < 1.6.4

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-59420
BreachSpider IDBS-2025-GLOBAL-035554-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published2025-09-22
Last modified2026-10-19
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-345: CWE-345

CWE-863: Incorrect Authorization

Software performs an authorization check incorrectly, allowing access beyond intended privileges.

Related attack patterns (CAPEC)

CAPEC-142 DNS Cache Poisoning via CWE-345

CAPEC-218 Spoofing of UDDI/ebXML Messages via CWE-345

CAPEC-385 Transaction or Event Tampering via Application API Manipulation via CWE-345

CAPEC-387 Navigation Remapping To Propagate Malicious Content via CWE-345

CAPEC-388 Application API Button Hijacking via CWE-345

Show all 12

CAPEC-665 Exploitation of Thunderbolt Protection Flaws via CWE-345

CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) via CWE-345

CAPEC-141 Cache Poisoning via CWE-345

CAPEC-384 Application API Message Manipulation via Man-in-the-Middle via CWE-345

CAPEC-386 Application API Navigation Remapping via CWE-345

CAPEC-701 Browser in the Middle (BiTM) via CWE-345

CAPEC-148 Content Spoofing via CWE-345

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2025-59420 affects Authlib versions prior to 1.6.4, where the JWS verification process incorrectly accepts tokens with unknown critical header parameters, violating RFC 7515 standards. This could allow attackers to craft tokens that bypass strict verifiers, potentially leading to unauthorized access or other security issues.

An attacker can craft a signed token with a critical header parameter that is not recognized by Authlib's JWS verification process. Since Authlib does not reject tokens with unknown critical headers, these tokens can be accepted, leading to potential security vulnerabilities.

Questions

What is CVE-2025-59420?

CVE-2025-59420 affects Authlib versions prior to 1.6.4, where the JWS verification process incorrectly accepts tokens with unknown critical header parameters, violating RFC 7515 standards. This could allow attackers to craft tokens that bypass strict verifiers, potentially leading to unauthorized access or other security issues.

What is the CVSS score for CVE-2025-59420?

CVE-2025-59420 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.3%.

Is CVE-2025-59420 actively exploited?

No confirmed active exploitation of CVE-2025-59420 as of 2026-10-25.

How do I remediate CVE-2025-59420?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2025-59420?

CVE-2025-59420 affects Authlib Authlib.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Authlib","product":"Authlib","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-19.