CVE-2025-61152 Details
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.
A vulnerability in the python-jose library, affecting versions through 3.3.0, allows JWT tokens with 'alg=none' to be decoded and accepted without any cryptographic signature verification. This flaw enables a malicious actor to craft a forged token with arbitrary claims, such as 'is_admin=true', and bypass authentication checks. Consequently, this could lead to privilege escalation or unauthorized access in applications that rely on python-jose for token validation. The issue arises because the library does not enforce rejection of 'alg=none' tokens, leaving a gap that can be exploited.
Until an official patch is released, developers should explicitly reject 'alg=none' tokens before decoding them. Additionally, signature verification should be enforced using strong algorithms like HS256 or RS256. It is also advisable to audit all points where JWTs are parsed to ensure that unsigned tokens are not accepted.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 10, 2025CISA-ADP
Assessed Oct 10, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-269 | Improper Privilege Management | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| python-jose | <= 3.3.0 (semver) |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 25, 2025 | CVE Modified | [email protected] |
| Oct 10, 2025 | CVE Modified | CISA-ADP |
| Oct 10, 2025 | New CVE Received | [email protected] |
Volerion