CVE-2025-61152

python-jose thru 3.3.0 allows JWT tokens with 'alg=none' to be decoded and accepted without any cryptographic signature verification. A malicious actor can craft a forged token with arbitrary claims (e.g., is_admin=true) and bypass authentication checks, leading to privilege escalation or unauthorized access in applications that rely on python-jose for token validation. This issue is exploitable unless developers explicitly reject 'alg=none' tokens, which is not enforced by the library. NOTE: all parties agree that the issue is not relevant because it only occurs in a "verify_signature": False situation.
Configurations

No configuration.

History

05 Nov 2026, 22:10

Type Values Removed Values Added
Summary
  • (es) python-jose hasta la versión 3.3.0 permite que los tokens JWT con ’alg=none’ sean decodificados y aceptados sin ninguna verificación de firma criptográfica. Un actor malicioso puede crear un token falsificado con reclamaciones arbitrarias (por ejemplo, is_admin=true) y eludir las comprobaciones de autenticación, lo que lleva a una escalada de privilegios o acceso no autorizado en aplicaciones que dependen de python-jose para la validación de tokens. Este problema es explotable a menos que los desarrolladores rechacen explícitamente los tokens ’alg=none’, lo cual no es forzado por la biblioteca. NOTA: todas las partes están de acuerdo en que el problema no es relevante porque solo ocurre en una situación de ’verify_signature’: False.

25 Nov 2025, 18:15

Type Values Removed Values Added
Summary (en) python-jose thru 3.3.0 allows JWT tokens with 'alg=none' to be decoded and accepted without any cryptographic signature verification. A malicious actor can craft a forged token with arbitrary claims (e.g., is_admin=true) and bypass authentication checks, leading to privilege escalation or unauthorized access in applications that rely on python-jose for token validation. This issue is exploitable unless developers explicitly reject 'alg=none' tokens, which is not enforced by the library. (en) python-jose thru 3.3.0 allows JWT tokens with 'alg=none' to be decoded and accepted without any cryptographic signature verification. A malicious actor can craft a forged token with arbitrary claims (e.g., is_admin=true) and bypass authentication checks, leading to privilege escalation or unauthorized access in applications that rely on python-jose for token validation. This issue is exploitable unless developers explicitly reject 'alg=none' tokens, which is not enforced by the library. NOTE: all parties agree that the issue is not relevant because it only occurs in a "verify_signature": False situation.
References
  • () https://github.com/mpdavis/python-jose/issues/391 -

10 Oct 2025, 15:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5
CWE CWE-269

10 Oct 2025, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-10-10 14:15

Updated : 2026-11-05 22:10


NVD link : CVE-2025-61152

Mitre link : CVE-2025-61152

CVE.ORG link : CVE-2025-61152


JSON object : View

Products Affected

No product.

CWE
CWE-269

Improper Privilege Management