CVE-2026-52870Lfprojects Mcp Python Sdk
High 7.6
Follow: this CVE · Lfprojects · Lfprojects Mcp Python Sdk We alert you by email or Slack (account required).
- Priority
- 46
- CVSS 3.1
- 7.6
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 15, 2026
- Updated
- Oct 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-862
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for Mcp Python Sdk.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | mcp |
≥ 1.23.0 < 1.27.2 |
1.27.2 |
pip install "mcp>=1.27.2" |
| PyPI | mcp |
≥ 1.23.0 < 1.27.2 |
1.27.2 |
pip install "mcp>=1.27.2" |
Per OSV / GitHub Advisories (GHSA-hvrp-rf83-w775, PYSEC-2026-3481). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| lfprojects | mcp_python_sdk | ≥ 1.23.0 < 1.27.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Issue Tracking Patch
- github.com Release Notes
- github.com Vendor Advisory