CVE-2026-85394
Received Received - Intake

HMAC Key Validation Bypass in python-jose

Vulnerability report for CVE-2026-85394, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-03

Last updated on: 2026-09-03

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-03
Last Modified
2026-09-03
Generated
2026-09-04
AI Q&A
2026-09-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
python_jose python_jose to 3.5.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-347 The product does not verify, or incorrectly verifies, the cryptographic signature for data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

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

Detection Guidance

To detect this vulnerability, inspect python-jose versions for 3.5.0 or earlier. Check if your application uses HMAC algorithms without explicit algorithm allowlisting. Review token verification logic for improper handling of DER-encoded public keys as HMAC secrets.

Impact Analysis

If you use python-jose and do not restrict allowed algorithms, attackers could forge tokens to bypass authentication or authorization. This may allow unauthorized access to sensitive data or functions in your application.

Compliance Impact

This vulnerability could lead to unauthorized access to personal or health data, violating GDPR or HIPAA requirements for data protection and access control. Non-compliance may result in legal penalties or reputational damage.

Mitigation Strategies

Update python-jose to the latest version beyond 3.5.0 to ensure proper validation of asymmetric keys. Explicitly restrict allowed algorithms in token verification to prevent HS256 forgery.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-85394. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart