CVE Wiki Pixee · CVE intelligence
← All CVEs

CVE-2026-27962

Critical · CVSS 9.1

authlib — JWK Header Injection / JWT Signature Verification Bypass

CVSS
9.1
nvd
EPSS
0.55%
43th pct
KEV
No
Class
oss containerizable
CWE-347, CWE-347

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.

Search profile — drives PoC discovery

Symbols key=NonejwkJWSJsonWebSignaturedeserialize_compactdeserialize_jsonJWSAlgorithmjwk headerextract_keyJWKSet
Keywords CVE-2026-27962authlibJWK header injectionJWT forgeryJWS signature bypassGHSA-wvwj-cvrp-7pv5authlib JWK injection PoCauthlib key=None bypassauthlib 1.6.9JWT authentication bypass authlib
Versions: < 1.6.9

Ranked PoCs (1) — best first

Heuristic ranking — not yet expert-vetted. Scored on structure + provenance, not execution.

Recall-favoring discovery; ranking by the Stage-4 scorer (Adam's rubric). Scanner/aggregator repos are hidden.

Affected packages

PyPI authlib 0 → 1.6.9

References

Status: enriched · ingested 2026-06-30T06:00:22.000Z · profiled 2026-07-01T00:30:14.000Z