CVE-2026-85394
published critical CVSS 4.0 · 9.3python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mpdavis | — | python-jose0 through 3.5.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.1 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mpdavis | python-jose | 0 through 3.5.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-347 Improper Verification of Cryptographic Signature
References
6- GitHub Security Advisory (GHSA-6c5p-j8vq-pqhj) https://github.com/advisories/GHSA-6c5p-j8vq-pqhj
- https://github.com/mpdavis/python-jose
- https://github.com/mpdavis/python-jose/blob/018b310ddb8b50dcfd09a0c152117835a21dd656/jose/backends/native.py
- https://github.com/mpdavis/python-jose/blob/018b310ddb8b50dcfd09a0c152117835a21dd656/jose/utils.py
- GitHub Issue #414 https://github.com/mpdavis/python-jose/issues/414
- VulnCheck Advisory: python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret https://www.vulncheck.com/advisories/python-jose-through-3.5.0-algorithm-confusion-via-der-encoded-public-key-as-hmac-secret
Provider assertions
2VulnCheck · cna
python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c319d9ad620432de365567917fdf7d4bc56c70ddbc05e1bb4ef6a5d92e881eae
- Ingested
- 23 Sep 2026, 09:36:40 UTC
- Source record
- Official CVE record