CVE-2026-27962: Vulnerability in Authlib
Critical. 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...
PyPI, CWE-347
- Exploitation
- None confirmed
- Severity
- 9.1 of 10
- Attack likelihood
- 0.6 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-wvwj-cvrp-7pv5
- EU ID
- EUVD-2026-12478
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weakness
- CWE-347
- Published
- 16 Mar 2026
- Last change
- 27 Oct 2026
- Likelihood rank
- Higher than 43 % of all rated vulnerabilities
- Analysis status
- Modified
- Ecosystem
- PyPI
Affected products
Affected versions and the first fixed release
- Authlib Before 1.6.9. Fixed in 1.6.9
Affected packages
Vulnerable version ranges and fixed releases
- authlib PyPI, Affected through 1.6.8. Fixed in 1.6.9
Advisories
Vendor and security advisories
- access.redhat.com/errata/RHSA-2026:19375
- access.redhat.com/errata/RHSA-2026:24853
- access.redhat.com/errata/RHSA-2026:48085
- access.redhat.com/errata/RHSA-2026:5665
- access.redhat.com/errata/RHSA-2026:7314
- access.redhat.com/security/cve/CVE-2026-27962
- bugzilla.redhat.com/show_bug.cgi
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27962.json
Patches and fixes
Updates, commits and release notes
- github.com/authlib/authlib/commit/a5d4b2d4c9e46bfa11c82f85fdc2bcc0b50ae681
- github.com/authlib/authlib/releases/tag/v1.6.9
Exploit code
Public exploits and proofs of concept, handle with care
Related
- Authlib vulnerabilities Recent advisories, watch this product