Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect to shared MCP server as client
-
ExploitCall tasks/list to enumerate other sessions' task IDs
-
ExecutionInvoke tasks/get and tasks/result on victim tasks
-
ImpactRead results or cancel/consume victim messages
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
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 a stateful MCP server that has called |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L, base 7.6) describes a network-reachable, low-complexity attack requiring only that the attacker already be a connected client (PR:L), yielding high confidentiality impact (reading other clients' task results) with lower integrity/availability impact (cancelling tasks, consuming their messages). No EPSS score, SSVC decision, KEV listing, or public POC was provided, so real-world exploitation pressure appears low today and this reads as a design/isolation defect rather than an actively weaponized bug. The practical risk is concentrated in a specific deployment shape: multi-tenant or multi-client stateful MCP servers that enabled the experimental tasks feature - single-client or stateless deployments are largely unaffected because stateless servers deliberately leave tasks unscoped by design. This is a genuine cross-tenant data-exposure priority for those running shared task-enabled servers, but a low priority for the majority who have not adopted the experimental tasks feature. Note the C:H rating hinges on task results containing sensitive data, which varies by application. |
| Exploit ScenarioDerived | An attacker connects to a shared, task-enabled MCP server as a legitimate client, then issues tasks/list to enumerate task IDs created by other sessions and follows up with tasks/get and tasks/result to read those tasks' outputs, or tasks/cancel to abort a victim's in-flight work. Because exploitation only requires being a connected client on the network (AV:N/AC:L/PR:L) with no user interaction, it is straightforward wherever multiple clients share one stateful server. No public POC is currently identified, but the fix diff clearly documents the exploitable behavior. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 15, 2026
Missing authorization in the MCP Python SDK (the mcp PyPI package) versions 1.23.0 through 1.27.1 lets any authenticated client of a multi-client server enumerate, read the results of, consume messages from, or cancel tasks belonging to other clients. The default handlers wired up by server.experimental.enable_tasks() for tasks/list, tasks/get, tasks/result, and tasks/cancel key solely on the task identifier and never bind a task to the session that created it. There is no public exploit identified at time of analysis and it is not in CISA KEV, but the upstream fix, deprecation warnings, and detailed advisory confirm the flaw; it is resolved in version 1.27.2.
RemediationAI
Vendor-released patch: upgrade the mcp package to version 1.27.2 or later, which binds generated task IDs to the creating session so the default handlers reject cross-session access (see the advisory GHSA-hvrp-rf83-w775 and release https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.27.2, fix in PR https://github.com/modelcontextprotocol/python-sdk/pull/2720 and commit 62137874ff26dd74d2fea80ff528a7fd9ca7a5e7). If you cannot upgrade immediately, stop passing explicit task_id values to run_task() (these remain unscoped even after patching) and, for authorization tied to a user identity rather than a session, register custom handlers via @server.experimental.get_task(), @server.experimental.get_task_result(), @server.experimental.list_tasks(), and @server.experimental.cancel_task() instead of relying on the defaults. As a temporary compensating control, disable the experimental tasks feature (do not call enable_tasks()) or restrict the server to a single trusted client - the trade-off is loss of task functionality or multi-client support. Where explicit task IDs must be used, treat them as capabilities: generate them with high entropy, share only with the intended recipient, and use short TTLs.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Model Context Protocol (MCP) is the client/server protocol used to connect AI models to tools and data, and the mcp package is its reference Python implementation. The vulnerability lives in the experimental tasks subsystem enabled via server.experimental.enable_tasks(), which registers default JSON-RPC handlers for tasks/list, tasks/get, tasks/result, and tasks/cancel. These handlers operated purely on the opaque task identifier with no association to the originating session - the classic root cause of CWE-862 (Missing Authorization), where an action is performed without verifying the requester is entitled to the target object. The CPE cpe:2.3:a:modelcontextprotocol:python-sdk:*:*:*:*:*:*:*:* covers the affected implementation. The fix (PR #2720, commit 62137874) introduces a task_scope module and a per-session task_session_scope marker: run_task() now embeds this session marker into generated task IDs (scoped_task_id) so the default handlers can return 'task not found' for another session's task and omit it from tasks/list. Explicitly supplied task IDs are deprecated because they are used verbatim and remain unscoped/globally reachable.
Know when Python Sdk 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:L/UI:N/S:U/C:H/I:L/A:L
Attacker must be a connected client (PR:L) reaching the server over the network at low complexity (AV:N/AC:L); reading other tasks' results gives C:H while cancel/consume yields only I:L/A:L, scope unchanged.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP). From 1.23.0 until 1.27.2, default handlers installed by server.experimental.enable_tasks() for tasks/list, tasks/get, tasks/result, and tasks/cancel operate only on task identifiers without recording the session that created each task, allowing any connected client to enumerate, read results from, consume messages for, or cancel other clients' tasks. This issue is fixed in version 1.27.2.
Articles & Coverage 1
Executive ViewAI
The MCP Python SDK (versions 1.23.0-1.27.1) contains a missing authorization vulnerability allowing authenticated clients to access and manipulate other users' tasks in multi-client server deployments. While no public exploit has been identified at time of analysis, this flaw poses significant risks to data confidentiality and operational integrity. Unauthorized cross-user task access could expose sensitive data and disrupt operations for organizations using this widely-deployed package.
Apply vendor patch to mcp version 1.27.2 or later.
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.
More in Python Sdk
View allCross-session message injection in the MCP Python SDK (the 'mcp' package on PyPI) prior to 1.27.2 allows an authenticate
Resource-confusion in the Model Context Protocol Python SDK (pip package mcp) causes server-side bearer authentication t
Client-side server-side request forgery and denial of service in the official Model Context Protocol Python SDK: when a
Cross-origin redirect handling in the Model Context Protocol Python SDK (published on PyPI as `mcp`) leaks caller-suppli
Unbounded HTTP request-body buffering in the Model Context Protocol Python SDK (the 'mcp' package) before 1.29.1 and in
Cross-origin WebSocket hijacking in the Model Context Protocol Python SDK (mcp on PyPI) before 1.28.1 lets a remote web
OAuth credential disclosure in the Model Context Protocol Python SDK (pip package 'mcp', versions 1.9.1 through 1.29.1 a
Unbounded server-side memory growth in stateful Streamable HTTP servers built on the MCP Python SDK (the 'mcp' package o
EUVD-2026-44797
GHSA-hvrp-rf83-w775
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB