CVE-2026-120459 python-jose through 3.5.0 Authentication Bypass via Empty HMAC Key
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-120459?
CVE-2026-120459 is a critical vulnerability in mpdavis python-jose, published on 2 Nov 2026.
Official description
python-jose through 3.5.0 contains an authentication bypass vulnerability that allows unauthenticated attackers to forge JWTs because HMACKey and CryptographyHMACKey accept zero-length HMAC secrets. When an application's HS256/HS384/HS512 verification key resolves to empty, such as an oct JWK with empty k, attackers can forge tokens with arbitrary claims that jwt.decode accepts.
Weakness: CWE-347
Which versions are affected by CVE-2026-120459?
How do I fix CVE-2026-120459?
No fix has been published for CVE-2026-120459 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-120459 being exploited?
There is no known exploitation of CVE-2026-120459 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-120459, GHSA-7jv8-hwmh-86qc, UBUNTU-CVE-2026-120459.