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

- Severity: Critical 9.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-11-02T14:29:15.767Z
- Modified: 2026-11-28T02:05:43.726Z
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- mpdavis python-jose: up to 3.5.0

## Every score

- VulnCheck: CVSS:4.0 9.1 Critical `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`
- VulnCheck: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/mpdavis/python-jose/issues/398> (issue-tracking)
- <https://github.com/mpdavis/python-jose/blob/3.5.0/jose/backends/native.py> (technical-description)
- <https://github.com/mpdavis/python-jose/blob/3.5.0/jose/backends/cryptography_backend.py> (technical-description)
- <https://www.vulncheck.com/advisories/python-jose-through-3.5.0-authentication-bypass-via-empty-hmac-key> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-120459](https://www.cve.org/CVERecord?id=CVE-2026-120459), CVE Terms of Use, modified 2026-11-28
- NVD: [CVE-2026-120459](https://nvd.nist.gov/vuln/detail/CVE-2026-120459), Public domain, modified 2026-11-09

---

Page: https://cve.day/CVE-2026-120459 · Whole record: https://cve.day/CVE-2026-120459.json · Rebuilt by cve.day 2026-11-28T02:27:10.846Z
