CVE-2026-85394: Vulnerability in python-jose

Critical. 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.

PyPI, CWE-347

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
None recorded
Patch deadline
No deadline set

Details

Advisory ID
GHSA-3qf3-8w2g-rqmx
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-347
Published
3 Sept 2026
Last change
5 Oct 2026
Ecosystem
PyPI

Affected packages

Vulnerable version ranges and fixed releases

  • python-jose PyPI, Affected through 3.5.0. No fixed version recorded

Advisories

Vendor and security advisories