CVE-2026-27962
CRITICAL 9.1CVSS 3.1Authlib JWS JWK Header Injection: Signature Verification Bypass
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.
- Published
- 16 Mar 2026
- Last modified
- 27 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-347
- Also known as
- GHSA-wvwj-cvrp-7pv5PYSEC-2026-287
- Sources
- NVDJSONOSV GHSA-wvwj-cvrp-7pv5JSONOSV PYSEC-2026-287JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | authlib | authlibcpe:2.3:a:authlib:authlib:*:*:*:*:*:*:*:* |
< 1.6.9 | 1.6.9 |
| OSV | PyPI | authlib | < 1.6.9 | 1.6.9 |
References
- https://github.com/authlib/authlib/commit/a5d4b2d4c9e46bfa11c82f85fdc2bcc0b50ae681 · Patch, WEB
- https://github.com/authlib/authlib/releases/tag/v1.6.9 · Product, Release Notes, WEB
- https://github.com/authlib/authlib/security/advisories/GHSA-wvwj-cvrp-7pv5 · Exploit, Mitigation, Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2026:19375 · WEB
- https://access.redhat.com/errata/RHSA-2026:24853 · WEB
- https://access.redhat.com/errata/RHSA-2026:48085 · WEB
- https://access.redhat.com/errata/RHSA-2026:5665 · WEB
- https://access.redhat.com/errata/RHSA-2026:7314 · WEB
- https://access.redhat.com/security/cve/CVE-2026-27962 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2448164 · WEB
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27962.json · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-27962 · ADVISORY
- https://github.com/authlib/authlib · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/authlib/PYSEC-2026-287.yaml · WEB
- https://pypi.org/project/authlib · WEB, PACKAGE
- https://github.com/advisories/GHSA-wvwj-cvrp-7pv5 · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 16 Mar 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 16 Mar 2026)