StraitOfVuln
Latest / CVE-2026-27962

CVE-2026-27962

CriticalCVSS 9.1 (v3.1)Modified
CVE.org ↗NVD ↗Vendor advisory ↗

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.

Details

CVE ID
CVE-2026-27962
Published / updated
16 Mar 2026, 18:16 UTC · last modified 10 Sept 2026, 13:18 UTC
Severity
CRITICAL
CVSS score
9.1 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N · Attack vector: Network
Affected vendor
Affected products
Authlib
Affected versions
Authlib: < 1.6.9
Fixed versions
authlib 1.6.9
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.46% probability of exploitation in the next 30 days · 41% percentile (02 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (authlib 1.6.9) per the vendor advisory.
Source (CNA)
security-advisories@github.com