PyPI
CVE-2026-120459
python-jose through 3.5.0 Authentication Bypass via Empty HMAC Key
- Severity
- Critical 9.1
- Published
- 2 Nov 2026
- Last changed
- 9 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Exploit chance
- 0.3% in the next 30 daysHigher than 16% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Read data · Change data
- CVSS 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- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
python-josePyPI · osv:PyPI:python-jose |
|
About python-jose
- Weekly downloads (PyPI)
- 7,071,260PyPI Stats, 24 Nov 2026
This is the only vulnerability in python-jose in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-120459