CVE-2026-52870: MCP Python SDK: Experimental task handlers allow any client to access and cancel other clients' tasks
Vulnerability summary
CVE-2026-52870 is a high (CVSS 7.6) Missing Authorization vulnerability in lfprojects mcp_python_sdk. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 15.6% of scored vulnerabilities.
Not severe (CVSS 7.6, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 15-07-2026PublishedVulnerability first disclosed.
- 16-07-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · PypiEcosystem advisory · calculated7.6HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
- OSV · WolfiEcosystem advisory · calculated7.6HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
- OSV · ChainguardEcosystem advisory · calculated7.6HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
- NVDNIST7.6HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
Decrease -0.15 pp
From 0.39% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard3 products
- kserve-huggingfaceserver-cuda-13.3All versions (No fix recorded) | < 0.21.0-r4
- litellm< 1.93.0-r0 | < 1.91.2-r2
- semgrep< 1.172.0-r1
Lfprojects1 product
- mcp_python_sdk≥ 1.23.0, < 1.27.2
Modelcontextprotocol1 product
- python-sdk≥ 1.23.0, < 1.27.2
PyPI1 product
- mcp≥ 1.23.0, < 1.27.2
Wolfi1 product
- semgrep< 1.172.0-r1
5 vendors · 7 products
References
9 links- github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-hvrp-rf83-w775X Refsource CONFIRMWEBAdvisoryVendor Advisory
- github.com/modelcontextprotocol/python-sdk/commit/62137874ff26dd74d2fea80ff528a7fd9ca7a5e7X Refsource MISCWEBFIXPatch
- pypi.org/project/mcpPACKAGE