python-jose
CVE-2025-61152
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify app using python-jose with verify_signature disabled
-
DeliveryForge JWT with alg=none and admin claims
-
ExploitSubmit forged token to authentication endpoint
-
ExecutionLibrary accepts unverified token
-
ImpactGain unauthorized/privileged access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the consuming application to invoke python-jose's JWT decode with options {"verify_signature": False} - the attacker then supplies a token with an 'alg'=none header and arbitrary forged claims, which the library accepts without signature validation. The decisive limiting factor is that this is NOT the default behavior: with signature verification enabled (the normal configuration), the forged alg=none token is rejected, and all parties agree the issue is not relevant outside the verify_signature:False case. There is no authentication or user interaction needed to submit the forged token, but the required non-default misconfiguration sharply constrains the realistic exploitable population. |
| Impact | This is a high-CVSS-narrative-but-low-real-risk issue once the signals are cross-referenced. The input CVSS vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N, base 6.5) describes an unauthenticated, network-reachable, low-complexity token-forgery bypass - which sounds like a serious authentication flaw. However, the description's own NOTE states that all parties agree the issue is not relevant because it only manifests in a "verify_signature": False situation, i.e. only when the consuming application has explicitly disabled signature verification. That single fact contradicts the AC:L framing: exploitation is NOT possible against default python-jose usage, so the real-world attack-complexity and prerequisite conditions are materially higher than the vector implies. The exploitation signals reinforce the low-priority read: EPSS is 0.32% (25th percentile), there is no CISA KEV listing (not actively exploited), and the vuln.today decision label is 'this_month' rather than act_now/emergency. A PoC reference is listed but is not verified as working exploit code. The CWE-269 (privilege escalation) and 'Authentication Bypass' tags are accurate descriptions of impact IF the misconfiguration is present, but the consensus dispute means this is effectively an application-misuse condition rather than a library defect. Conflict to verify: the CVSS vector implies default-configuration exploitability, while the authoritative NOTE says exploitation requires a non-default verify_signature:False setting - treat the vector's AC:L/PR:N as not reflective of real deployments. |
| Exploit ScenarioDerived | An application uses python-jose (<= 3.3.0) and calls its decode function with options set to {"verify_signature": False}; an attacker crafts a JWT with a 'none' algorithm header and forged claims such as is_admin=true and submits it to the application, which accepts it without any cryptographic check and grants elevated access. This is only reachable because signature verification was explicitly disabled - against default configurations the forged token is rejected. A public PoC reference exists but it is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
JWT signature verification bypass in python-jose through 3.3.0 allows a forged token carrying an 'alg'=none header and arbitrary claims (for example is_admin=true) to be decoded and accepted, enabling privilege escalation or unauthorized access in applications that rely on the library for token validation. The decisive limiting factor is that this only occurs when the consuming application explicitly calls decode with verify_signature set to False; with signature verification enabled, which is the default and the normal configuration, the forged token is rejected, and all parties agree the issue is not relevant outside that opt-out case. No CISA KEV entry exists, EPSS is low at roughly 0.32 percent (25th percentile), and only a public PoC reference exists; it is not verified as working exploit code.
RemediationAI
No fixed release version is identified in the supplied intelligence, so the actionable control is configuration rather than a version number: never pass options={"verify_signature": False} to jose.jwt.decode in production code paths, since the default (verification enabled) rejects forged 'alg'=none tokens. Where unsigned tokens must be handled at all, inspect the decoded header first and reject any token whose 'alg' is none or is not on an explicit allowlist of expected algorithms; the trade-off is that this breaks any intentional unsecured-JWT or test flow, which should then be isolated to non-production code. If verify_signature must be disabled because signatures are checked elsewhere, perform that verification out-of-band before any claim is trusted, because the library will otherwise accept arbitrary attacker-supplied claims. Track https://github.com/mpdavis/python-jose/issues/391 and the PyPI project page (https://pypi.org/project/python-jose) for a patched release and upgrade when one is published; the third-party advisory at https://github.com/javiermorales36/PoC-for-python-jose-alg-none-JWT-bypass-vulnerability/blob/main/CVE-2025-61152_Security_Advisory.md documents the attack pattern. Given the low EPSS score, the absence of KEV listing, and the this_month priority label, remediation can follow normal patch cadence, but auditing codebases for verify_signature: False usage should still be scheduled.
Affected ProductsAI
python-jose, the Python package published on PyPI (https://pypi.org/project/python-jose), is affected through version 3.3.0. No CPE identifiers are present in the supplied intelligence, so affected scope is defined by package version rather than by formal CPE matching. The exploitable subset is not every installation of 3.3.0 or earlier but specifically those applications that invoke jose.jwt.decode with options {"verify_signature": False}, i.e. consumers that have intentionally disabled signature verification; deployments using the default verification path are reported by the vendor discussion and the independent assessment as not affected in practice. Tracking and upstream discussion are at https://github.com/mpdavis/python-jose/issues/391, and a third-party advisory write-up is at https://github.com/javiermorales36/PoC-for-python-jose-alg-none-JWT-bypass-vulnerability/blob/main/CVE-2025-61152_Security_Advisory.md.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
python-jose is a Python implementation of JSON Web Signature, JSON Web Encryption and JSON Web Token handling built on the JWA/JWS specifications, distributed via PyPI (https://pypi.org/project/python-jose). In JOSE, the 'alg' header of a JWS selects the signature algorithm, and the 'none' value denotes an unsecured JWT defined by RFC 7519/7515 that carries no signature at all; a library is expected to process such tokens only when the caller has deliberately opted out of verification. The flaw is tracked as CWE-269 (Improper Privilege Management) because the practical consequence is that claims influencing authorization decisions are trusted without any cryptographic integrity check. The assessed severity uses AV:N/AC:L/PR:N/UI:N with low confidentiality and integrity impact, but the independent assessment raises the attack complexity to High, reflecting that the trigger depends on a non-default library configuration rather than on attacker-controlled inputs alone. Per the available sources, the mechanism is simply that decode does not enforce rejection of 'alg'=none when verify_signature is False; the sources do not describe any deeper parser, key-handling or timing mechanism beyond that configuration dependency.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Remote and unauthenticated (AV:N/PR:N), but exploitation depends on the non-default verify_signature:False configuration, so AC:H; limited auth-bypass impact gives C:L/I:L, A:N.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB