CVE-2025-61152
JSON

6.5medium

python-jose thru 3.3.0 allows JWT tokens with 'alg=none' to be decoded and accepted without any cryptographic signature verification.

Severity
6.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.32% (higher than 27% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List

Classification

CWE-269

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (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.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-61152 changed 2025-11-25CVE Terms of Use
NVDCVE-2025-61152 changed 2026-11-05Public domain