7.6

CVE-2026-52870: MCP Python SDK: Experimental task handlers allow any client to access and cancel other clients' tasks

Analyzed
AliasesGHSA-hvrp-rf83-w775PYSEC-2026-3481CGA-6564-5qgc-78cq
Published 15-07-2026Last modified 16-07-2026

Vulnerability summary

CVE-2026-52870 is a high (CVSS 7.6) Missing Authorization vulnerability in lfprojects mcp_python_sdk. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 15.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.6, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.6/10
010
High · v3.1 (CVE.org)
EPSS score
0.24%
0%100%
Low · -0.15 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 15-07-2026
    PublishedVulnerability first disclosed.
  2. 16-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.24%

Chance of exploitation in the next 30 days

Percentile

16%

Versus all other CVEs

30-day change

Decrease -0.15 pp

From 0.39% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard3 products
  • kserve-huggingfaceserver-cuda-13.3All versions (No fix recorded) | < 0.21.0-r4
  • litellm< 1.93.0-r0 | < 1.91.2-r2
  • semgrep< 1.172.0-r1
Lfprojects1 product
Modelcontextprotocol1 product
PyPI1 product
  • mcp≥ 1.23.0, < 1.27.2
Wolfi1 product
  • semgrep< 1.172.0-r1

5 vendors · 7 products

References

9 links