MCP Python SDK: Experimental task handlers allow any client to access and cancel other clients' tasks (modelcontextprotocol python-sdk)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.24 % · percentile 16 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- Affected products
- modelcontextprotocol · python-sdk
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-862 — Missing Authorization
References
- https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-hvrp-rf83-w775
- https://github.com/modelcontextprotocol/python-sdk/pull/2720
- https://github.com/modelcontextprotocol/python-sdk/commit/62137874ff26dd74d2fea80ff528a7fd9ca7a5e7
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.27.2
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L | GitHub_M |
| CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L | NVD · security-advisories@github.com (Secondary) |
Advisories
- GHSA-hvrp-rf83-w775 — MCP Python SDK: Experimental task handlers allow any client to access and cancel other clients' tasks
- PYSEC-2026-3481 — MCP Python SDK: Experimental task handlers allow any client to access and cancel other clients' tasks
European references
- ENISA EUVD · EUVD-2026-44797
- GCVE · GCVE-0-2026-52870
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:lfprojects:mcp_python_sdk:*:*:*:*:*:*:*:*≥ 1.23.0 < 1.27.2
Affected products
| Product | Affected versions |
|---|---|
| modelcontextprotocol · python-sdk | affected : >= 1.23.0, < 1.27.2 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |