Skip to main content
VulnerabilityPublished Updated

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

Affects snyk-agent-scanSource GCVE Database

0
Authoritative record:CVE-2026-52870· High 7.6

Not known to be exploited · CVSS 7.6 High : upgrade to 0.5.17 soon.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
7.6High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.5.17
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 15 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade snyk-agent-scan to 0.5.17.

Affected software

ProductAffectedFixed in
Homebrewsnyk-agent-scanpkg:brew/snyk-agent-scanOther threatsAffected
  • >=0.4.3 <0.5.17
Fixed in
  • 0.5.17

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in version 1.27.2 or later, which adds session ownership validation by embedding a per-session marker in task IDs and restricting default handlers to only operate on tasks belonging to the requesting session. Servers should upgrade to this version to remediate the vulnerability. Alternatively, keep the experimental tasks feature disabled or implement custom task handlers that validate session ownership before acting on tasks. No other mitigation is required if the feature is not enabled.

Description

The MCP Python SDK's experimental task handlers feature, when enabled, does not verify session ownership of tasks. This allows any connected client to list, read results from, and cancel tasks created by other clients on the same server. The vulnerability affects servers that enable the experimental tasks feature and use default handlers without session validation. It is fixed in version 1.27.2 and later, which embed session markers in task IDs and restrict task access to the owning session.

References

Community reviews

Loading reviews…