PT-2026-85227 · Pypi · Python-Jose

·

CVE-2026-85394

·

Published

2024-04-26

·

Updated

2026-09-05

CVSS v4.0

9.3

Critical

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions python-jose versions prior to 3.5.1
Description The software fails to properly validate asymmetric keys during HMAC initialization. It accepts DER-encoded public keys that lack PEM armor or SSH prefixes. This allows an attacker who possesses the service's public key to forge HS256 tokens that pass verification if the algorithms are not explicitly restricted. DER (Distinguished Encoding Rules) is a binary representation of data structures used in certificates and keys.
Recommendations Update python-jose to version 3.5.1 or later.

Exploit

Fix

Improper Verification of Cryptographic Signature

Use of a Broken Cryptographic Algorithm

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-85394
GHSA-6C5P-J8VQ-PQHJ
PYSEC-2024-232

Affected Products

Python-Jose