CVE-2026-27962 in Authlib
Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.9, a JWK Header Injection vulnerability in authlib's JWS implementation allows an unauthenticated attacker to forge arbitrary JWT tokens that pass signature verification. When key=None is passed to any JWS deserialization...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Authlib | Authlib | < 1.6.9 |
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-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.9, a JWK Header Injection vulnerability in authlib's JWS implementation allows an unauthenticated attacker to forge arbitrary JWT tokens that pass signature verification. When key=None is passed to any JWS deserialization function, the library extracts and uses the cryptographic key embedded in the attacker-controlled JWT jwk header field. An attacker can sign a token with their own private key, embed the matching public key in the header, and have the server accept the forged token as cryptographically valid — bypassing authentication and authorization entirely. This issue has been patched in version 1.6.9.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-27962 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-076805-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| Published | 2026-03-16 |
| Last modified | 2026-09-10 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-347: CWE-347
Related attack patterns (CAPEC)
CAPEC-463 Padding Oracle Crypto Attack via CWE-347
CAPEC-475 Signature Spoofing by Improper Validation via CWE-347
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A JWK Header Injection vulnerability in Authlib's JWS implementation prior to version 1.6.9 allows unauthenticated attackers to forge arbitrary JWT tokens that pass signature verification.
The vulnerability arises when key=None is passed to any JWS deserialization function, enabling the attacker to extract and use the cryptographic key embedded in the attacker-controlled JWK header.
Questions
What is CVE-2026-27962?
A JWK Header Injection vulnerability in Authlib's JWS implementation prior to version 1.6.9 allows unauthenticated attackers to forge arbitrary JWT tokens that pass signature verification.
What is the CVSS score for CVE-2026-27962?
CVE-2026-27962 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N. EPSS: 0.6%.
Is CVE-2026-27962 actively exploited?
No confirmed active exploitation of CVE-2026-27962 as of 2026-09-25.
How do I remediate CVE-2026-27962?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2026-27962?
CVE-2026-27962 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"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-09-10.