CVE-2026-120459: Vulnerability in Mpdavis Python-jose

Critical. 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.

CWE-347

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
None recorded
Patch deadline
No deadline set

Details

Advisory ID
GHSA-7jv8-hwmh-86qc
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-347
Published
2 Nov 2026
Last change
28 Nov 2026

Affected products

Affected versions and the first fixed release

  • Mpdavis Python-jose Through 3.5.0; Version 0 ≤3.5.0. No fixed version recorded

Advisories

Vendor and security advisories

Related