1. Home
  2. Vulnerabilities
  3. CVE-2026-120459

CVE-2026-120459

python-jose through 3.5.0 Authentication Bypass via Empty HMAC Key

Published 2 Nov 2026 · modified 28 Nov 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 38/100

Summary

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.

Affected products and versions

mpdavis (1 line(s))
mpdavis
ProductVersionsFixed inSource
python-jose up to 3.5.0 (included) — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N (CVSS 3.1, NVD)
Weakness
CWE-347 · Autre (CWE-347)

How this data is obtained and calculated