JWT Token Vulnerability in Python-Jose by Python Package Index
CVE-2025-61152
6.5MEDIUM
What is CVE-2025-61152?
The vulnerability in python-jose versions up to 3.3.0 enables the decoding of JSON Web Tokens (JWT) with the 'alg=none' algorithm, allowing attackers to create unauthorized JWTs. This oversight permits the acceptance of tokens devoid of cryptographic signature verification, potentially leading to privilege escalation and unauthorized access in applications dependent on token validation. To safeguard against this, developers must explicitly reject 'alg=none' tokens, a requirement not practiced by the library. Failing to enforce this measure exposes applications to severe security risks.
References
CVSS V3.1
Score:
6.5
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved
