Skip to main content

python-jose CVE-2025-61152

MEDIUM
Improper Privilege Management (CWE-269)
2025-10-10 cve@mitre.org
6.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify app using python-jose with verify_signature disabled
  2. Delivery
    Forge JWT with alg=none and admin claims
  3. Exploit
    Submit forged token to authentication endpoint
  4. Execution
    Library accepts unverified token
  5. Impact
    Gain 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (mitre) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 4.8 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Medium
popular Python JWT library, common but not everywhere; flaw needs misconfiguration
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

52
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy