CVE-2026-27962CWE-347

CVE-2026-27962

Critical · published March 16, 2026

CVSS v3.1
9.1
EPSS
1%
Percentile
44.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00537 · 44.4th percentile
Weakness
CWE-347 · Improper Verification of Cryptographic Signature
Published
2026-03-16T22:16Z
Affected products (1)
ProductVersionsFixed in
authlib/authlib< 1.6.91.6.9
References (11)
EPSS history
Timeline
  • 16 MAR 17:34Z
    Authlib JWS JWK Header Injection: Signature Verification Bypass
    cvelistv5