{"id":"CVE-2026-85394","published":"2026-09-03T18:54:26Z","modified":"2026-09-14T13:50:51Z","title":"python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret","vendor":"mpdavis","product":"python-jose","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00222,"percentile":0.13093,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/mpdavis/python-jose/issues/414","tags":["issue-tracking"]},{"url":"https://github.com/mpdavis/python-jose","tags":["product"]},{"url":"https://github.com/mpdavis/python-jose/blob/018b310ddb8b50dcfd09a0c152117835a21dd656/jose/backends/native.py","tags":["technical-description"]},{"url":"https://github.com/mpdavis/python-jose/blob/018b310ddb8b50dcfd09a0c152117835a21dd656/jose/utils.py","tags":["technical-description"]},{"url":"https://github.com/advisories/GHSA-6c5p-j8vq-pqhj","tags":["related"]},{"url":"https://www.vulncheck.com/advisories/python-jose-through-3.5.0-algorithm-confusion-via-der-encoded-public-key-as-hmac-secret","tags":["third-party-advisory"]}],"priority":{"score":9.0,"factors":[{"name":"EPSS percentile","points":2.62},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"mpdavis","affectedVersions":[{"vendor":"mpdavis","product":"python-jose","versions":["<= 3.5.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-14T13:05:35.325975Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"python-jose","vulnerableRanges":["<=3.5.0","<3.4.0"],"patched":["3.4.0"],"from":["GHSA-3qf3-8w2g-rqmx","PYSEC-2024-232","PYSEC-2026-4298"],"provenance":"source"}],"summary":{"text":"The python-jose library, through version 3.5.0, fails to properly validate asymmetric keys used to initialise HMAC, and it accepts DER-encoded public keys that lack PEM armor or SSH prefixes. An attacker who holds the service's public key can forge HS256 tokens that pass verification where algorithms are not explicitly restricted, which requires only network access and no authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:04:59Z"},"euvd":{"id":"EUVD-2026-70671","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mpdavis-python-jose-cve-2024-33663","parents":[{"from":"CVE-2024-33663","to":"CVE-2026-85394","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"This is an incomplete fix for CVE-2024-33663.","from":"CVE.org","in":"CVE-2026-85394"},{"kind":"osv-related","provenance":"source","id":"GHSA-3qf3-8w2g-rqmx","via":"reference","url":"https://github.com/advisories/GHSA-6c5p-j8vq-pqhj"}]}]}}