python-jose through 3.5.0 Authentication Bypass via Empty HMAC Key

State
Published
Severity
9.1 Critical
Published
Nov 2, 2026
Updated
Nov 28, 2026
Reserved
Nov 2, 2026

Read the record on cve.org

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.

ProductVersions
python-jose mpdavis3.5.0 and earlier Affected

Weaknesses

  • CWE-347 Improper Verification of Cryptographic Signature

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.