Vulnerability · Published Oct 10, 2025 · Assigned by mitre
CVE-2025-61152
Medium 6.5
In plain English
A medium-severity privilege mismanagement in the python-jose package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities).
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-jose | no fix listed | DEBIAN-CVE-2025-61152 |
| Ubuntu:22.04:LTS | python-jose | no fix listed | UBUNTU-CVE-2025-61152 |
| Ubuntu:24.04:LTS | python-jose | no fix listed | UBUNTU-CVE-2025-61152 |
Affected products (as reported)
Weakness: CWE-269 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N