Missing Authorization Affecting mcp package, versions [1.23.0,1.27.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Missing Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-MCP-18016319
  • published19 Jul 2026
  • disclosed16 Jul 2026
  • creditCosmo,Dewank Pant,ShrutiLohani

Introduced: 16 Jul 2026

NewCVE-2026-52870  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

Upgrade mcp to version 1.27.2 or higher.

Overview

mcp is a Model Context Protocol SDK

Affected versions of this package are vulnerable to Missing Authorization in the default tasks/list, tasks/get, tasks/result, and tasks/cancel handlers installed by server.experimental.enable_tasks(), which act on a task by its identifier without checking which session created it. A client connected to the server can enumerate, read the results and queued messages of, and cancel tasks belonging to other clients by referencing their task identifiers.

CVSS Base Scores

version 4.0
version 3.1