Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 68%

CVE-2026-52870: CWE-862: Missing Authorization in modelcontextprotocol python-sdk

0
High
VulnerabilityCVE-2026-52870cvecve-2026-52870cwe-862
Published: 07/15/2026 (07/15/2026, 20:07:53 UTC)
Source: CVE Database V5
Vendor/Project: modelcontextprotocol
Product: python-sdk

Description

A missing authorization vulnerability exists in the MCP Python SDK (modelcontextprotocol) versions from 1.23.0 up to but not including 1.27.2. Default handlers for task operations do not associate tasks with the creating session, allowing any connected client to enumerate, read, consume, or cancel tasks belonging to other clients. This issue is fixed in version 1.27.2.

CVSS v3.1

Score 7.6high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

Affected software

mcp
pkg:pypi/mcp
Affected versions
<1.27.2 >=1.23.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 23:03:16 UTC

Technical Analysis

The MCP Python SDK (modelcontextprotocol) versions >=1.23.0 and <1.27.2 contain a missing authorization vulnerability (CWE-862) in default handlers installed by server.experimental.enable_tasks(). These handlers for tasks/list, tasks/get, tasks/result, and tasks/cancel operate solely on task identifiers without tracking the session that created each task. As a result, any connected client can access or manipulate tasks created by other clients. The vulnerability is addressed in version 1.27.2.

Potential Impact

An attacker with access to the MCP Python SDK server can enumerate other clients' tasks, read their results, consume their messages, or cancel their tasks. This leads to unauthorized disclosure of task data, partial integrity loss, and availability impact on other clients' tasks. The CVSS 3.1 base score is 7.6 (High), reflecting network attack vector, low attack complexity, required privileges, no user interaction, unchanged scope, high confidentiality impact, low integrity impact, and low availability impact.

Mitigation Recommendations

Upgrade to MCP Python SDK version 1.27.2 or later, where this missing authorization vulnerability is fixed. No other mitigation or temporary workaround is indicated in the available data.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-08T21:44:27.364Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a57eb0d68715ace4363c934

Added to database: 07/15/2026, 20:18:21 UTC

Last enriched: 07/22/2026, 23:03:16 UTC

Last updated: 08/29/2026, 10:52:09 UTC

Views: 125

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses