CVE-2026-52870 Details
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.
A vulnerability in the MCP Python SDK (versions 1.23.0 through 1.27.1) allows connected clients to interfere with each other's tasks. The issue arises because the default task handlers do not account for session ownership, enabling one client to list, access results from, and cancel tasks created by another client. This vulnerability is particularly concerning on servers with multiple active client connections.
Upgrade to MCP Python SDK version 1.27.2 or later, where this vulnerability is fixed. In version 1.27.2, task IDs include a session marker that restricts task access to the session that created them. If not upgrading is possible, the experimental tasks feature can be disabled or custom task handlers that validate session ownership can be registered.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-862 | Missing Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| lfprojects mcp python sdk | >= 1.23.0, < 1.27.2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 17, 2026 | Initial Analysis | [email protected] |
| Jul 16, 2026 | CVE Modified | CISA-ADP |
| Jul 15, 2026 | New CVE Received | [email protected] |