Vulnerability Details CVE-2026-52870
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.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.002
EPSS Ranking 12.9%
CVSS Severity
CVSS v3 Score 7.6
Products affected by CVE-2026-52870
-
cpe:2.3:a:lfprojects:mcp_python_sdk:1.23.0
-
cpe:2.3:a:lfprojects:mcp_python_sdk:1.23.1
-
cpe:2.3:a:lfprojects:mcp_python_sdk:1.23.2
-
cpe:2.3:a:lfprojects:mcp_python_sdk:1.23.3
-
cpe:2.3:a:lfprojects:mcp_python_sdk:1.24.0
-
cpe:2.3:a:lfprojects:mcp_python_sdk:1.25.0
-
cpe:2.3:a:lfprojects:mcp_python_sdk:1.26.0
-
cpe:2.3:a:lfprojects:mcp_python_sdk:1.27.0
-
cpe:2.3:a:lfprojects:mcp_python_sdk:1.27.1