CVE-2026-120459
published critical CVSS 4.0 · 9.1python-jose through 3.5.0 Authentication Bypass via Empty HMAC Key
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mpdavis | — | python-jose0 through 3.5.0 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.4 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mpdavis | python-jose | 0 through 3.5.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-347 Improper Verification of Cryptographic Signature
References
4- https://github.com/mpdavis/python-jose/blob/3.5.0/jose/backends/cryptography_backend.py
- https://github.com/mpdavis/python-jose/blob/3.5.0/jose/backends/native.py
- https://github.com/mpdavis/python-jose/issues/398
- VulnCheck Advisory: python-jose through 3.5.0 Authentication Bypass via Empty HMAC Key https://www.vulncheck.com/advisories/python-jose-through-3.5.0-authentication-bypass-via-empty-hmac-key
Provider assertions
2VulnCheck · cna
python-jose through 3.5.0 Authentication Bypass via Empty HMAC Key
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b60caf2a8a905f69c531d05734e59a53d89672a54761df65c6cf80a841efe580
- Ingested
- 28 Nov 2026, 02:23:40 UTC
- Source record
- Official CVE record