Skip to main content
← All vulnerabilities
CVE-2026-85394GHSA-3QF3-8W2G-RQMXGHSA-6C5P-J8VQ-PQHJPYSEC-2024-232PYSEC-2026-4298

python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.4.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • mpdavis python-jose

    through 3.5.0

  • python-josePyPI

    through 3.5.0

  • python-josePyPI

    fixed in 3.4.0

References 6

GitHub · mpdavis/python-jose

GitHub Advisory Database

vulncheck.com