CVE-2025-61152
Full vulnerability record from the local CVENow database.
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.
Severity
MEDIUM
CVSS score
6.5
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2025-10-10 14:15:43.360000
Last modified
2026-11-05 22:10:00.203000
View original CVE JSON
{
"id": "CVE-2025-61152",
"sourceIdentifier": "[email protected]",
"published": "2025-10-10T14:15:43.360",
"lastModified": "2026-11-05T22:10:00.203",
"vulnStatus": "Deferred",
"cveTags": [
{
"sourceIdentifier": "[email protected]",
"tags": [
"disputed"
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "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."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"version": "n/a",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 3.9,
"impactScore": 2.5
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2025-10-10T14:21:53.362493Z",
"id": "CVE-2025-61152",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-269"
}
]
}
],
"references": [
{
"url": "https://github.com/javiermorales36/PoC-for-python-jose-alg-none-JWT-bypass-vulnerability/blob/main/CVE-2025-61152_Security_Advisory.md",
"source": "[email protected]"
},
{
"url": "https://github.com/mpdavis/python-jose/issues/391",
"source": "[email protected]"
},
{
"url": "https://pypi.org/project/python-jose",
"source": "[email protected]"
}
]
}