cvelo
P2 · HighCVSS 7.4EPSS 0.3%

python-jose through 3.5.0 Authentication Bypass via Empty HMAC Key

  • CVE-2026-120459
  • GHSA-7jv8-hwmh-86qc
  • EUVD-2026-115219

Description

python-jose through 3.5.0 contains an authentication bypass vulnerability that allows unauthenticated attackers to forge JWTs because HMACKey and CryptographyHMACKey accept zero-length HMAC secrets. When an application's HS256/HS384/HS512 verification key resolves to empty, such as an oct JWK with empty k, attackers can forge tokens with arbitrary claims that jwt.decode accepts.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • mpdavis python-jose

    Affected versionsFixed in
    up to 3.5.0none stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.