← News
Python-jose: authentication bypass
HighAI-generated2026-11-03
- CVE
- CVE-2026-120459
- Severity
- High (CVSS 7.4)
- Attack conditions
- Remotely, over the network · No account needed · No user action needed
- Exploitation probability (EPSS)
- 0.2% (within 30 days; FIRST EPSS, 10 November 2026)
Summary
The python-jose library up to version 3.5.0 contains an authentication bypass flaw that lets unauthenticated attackers forge JSON Web Tokens.
Details
According to the NVD record, python-jose through version 3.5.0 has a vulnerability where the HMAC verification keys can be empty. This occurs when the library processes an HS256, HS384, or HS512 key that resolves to a zero-length secret, such as an octet JWK with an empty 'k' value.
An attacker can exploit this condition to create forged JWTs with any claims they choose, and the library will accept these tokens as valid during decoding.
What to do
The source record does not name a specific patch, fixed version or workaround. General measures:
- Follow the vendor's security advisories.
- Apply the update when it is released.
- Limit access to the product as much as possible, especially from the internet.
Sources
Timeline
- 2 November 2026 NVD record published
- 3 November 2026 This article was written