CVE-2026-52870: The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP)
CVE-2026-52870 is a high-severity flaw (CVSS 7.6) affecting mcp python sdk. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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'
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.6 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 68%) |
| CISA exploited list | No |
| Weakness | CWE-862 |
| Published | 2026-07-15 |
| Last modified | 2026-10-24 |
Last updated 2026-10-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-52870?
mcp python sdk: upgrade to 1.27.2. Exact commands for each OS are on this page.
Is CVE-2026-52870 being exploited?
CVE-2026-52870 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-52870 affect?
CVE-2026-52870 affects mcp python sdk. Severity is high (CVSS 7.6). 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
How urgent is CVE-2026-52870?
Priority 35/100. High severity
Software pages
Python vulnerabilities · PyPI packages vulnerabilities
Related CVEs
- CVE-2026-52869 HIGH 7.1 UPGRADE The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP)
- CVE-2026-59950 HIGH 8.1 UPGRADE The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP)