Advisory record · GHSA-hvrp-rf83-w775

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

CVSS 7.6 HighEPSS 0.0039 · 33rd percentile

Published by the GitHub Advisory Database at 16 Jul 2026, 19:56 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
mcpPyPI>=1.23.0, <1.27.21.27.2
Identifiers
GHSA-hvrp-rf83-w775 · CVE-2026-52870 · PYSEC-2026-3481
Weakness (CWE)
CWE-862
Published
16 Jul 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Vulnerable: the mcp Python SDK, versions 1.23.0 up to but not including 1.27.2. The default task handlers installed by server.experimental.enable_tasks() did not check which session created a task, so on a server with multiple connected clients, any client can list, read, and cancel other clients' tasks and consume their queued messages. Upgrade to mcp 1.27.2 or later, or leave the experimental tasks feature disabled.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.6 High 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0039, the 33rd percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:11 UTC First seen by agentprime
  2. 31 Oct 2026, 14:11 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.