CVE-2026-85394 CRITICAL

CVE-2026-85394: python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret

Vendor Mpdavis
Product python-jose
Weakness CWE-347
Published September 3, 2026
Last update September 14, 2026

CVSS base score

9.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality —
Integrity —

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

What the vulnerability does

01Description

python-jose through 3.5.0 fails to properly validate asymmetric keys in HMAC initialization, accepting DER-encoded public keys that lack PEM armor or SSH prefixes. Attackers holding the service's public key can forge HS256 tokens that pass verification when algorithms are not explicitly restricted. This is an incomplete fix for CVE-2024-33663.

Key dates

02Disclosure timeline

September 3, 2026 CVE published
September 14, 2026 Record updated

Related vulnerabilities

04Related CVE