Security mailing lists by PureSourceCode

CVE-2026-52870

HIGH 7.6CVSS 3.1

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

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.

Published
15 Jul 2026
Last modified
24 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-862
Also known as
GHSA-hvrp-rf83-w775PYSEC-2026-3481
Sources
NVDJSONOSV GHSA-hvrp-rf83-w775JSONOSV PYSEC-2026-3481JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) 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
OSV GitHub 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
OSV PyPA 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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD lfprojects mcp_python_sdk
cpe:2.3:a:lfprojects:mcp_python_sdk:*:*:*:*:*:*:*:*
>= 1.23.0, < 1.27.2 1.27.2
OSV PyPI mcp >= 1.23.0, < 1.27.2 1.27.2

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 15 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.