Skip to content

CVE-2026-120459 python-jose through 3.5.0 Authentication Bypass via Empty HMAC Key

CriticalCVSS 9.1 EPSS 0.25%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebian

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.

Upgrade path

4 packages: 1 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
debian/python-jose(Debian 12) = 3.3.0+dfsg-4; = 3.3.0+dfsg-5; All versions No fix listed No fix yet
ubuntu/python-jose(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/python-jose(Ubuntu 24.04) All versions No fix listed No fix yet
pypi python-jose <= 3.5.0 after 3.5.0 Fixed

Affected products

ProductAffected versionsFixed in
pypi python-jose <= 3.5.0 No fix listed
debian/python-jose(Debian:12) All versions No fix listed
debian/python-jose(Debian:12) = 3.3.0+dfsg-4 No fix listed
debian/python-jose(Debian:12) = 3.3.0+dfsg-5 No fix listed
ubuntu/python-jose(Ubuntu:22.04) All versions No fix listed
ubuntu/python-jose(Ubuntu:24.04) All versions No fix listed

References