SecurityContext

CVE-2026-52869: MCP Python SDK - Broken Access Control

  • Cve: CVE-2026-52869
  • Name: MCP Python SDK - Broken Access Control
  • Description: The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP). Prior to 1.27.2, the SSE and stateful Streamable HTTP transports mcp.server.sse.SseServerTransport and mcp.server.streamable_http_manager.StreamableHTTPSessionManager route requests to existing sessions using only the session_id query parameter or Mcp-Session-Id header without verifying the authenticated principal that created the session, allowing a different bearer-token-authenticated client with a known session ID to inject JSON-RPC messages into that session. This issue is fixed in version 1.27.2.
  • Impact: Authenticated attackers can inject JSON-RPC messages into other users' sessions, potentially manipulating session data or actions.
  • Remediation: Upgrade to version 1.27.2 or later.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: broken_access_control
  • Requirement type: logged_in
  • Requirements: Attacker must be authenticated and know a valid session ID
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.1
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
  • Epss score: 0.00535
  • Epss percentile: 0.46029
  • Assignee: [email protected]
  • Published at: 2026-07-15T20:17:38Z
  • Age in days: 132
  • Modified at: 2026-10-24T21:10:00Z
  • Patch available: yes
  • References total: 7
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-52869
  • Nvd status: analyzed
  • Checked, none or zero: nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd

Cwe

IdName
CWE-639Authorization Bypass Through User-Controlled Key

Known exploited entries

ListAdded dateDue dateRansomware use
vulncheck2026-11-20—no

Hackerone

  • Reports: 1
  • Rank: 5211

References

UrlSourceTags
https://github.com/modelcontextprotocol/python-sdk/commit/1abcca2408a6b50e10ec601181f63f9978705c00nvdPatch
https://github.com/modelcontextprotocol/python-sdk/commit/ce267b6fc515dc4efc1dc70b6975b16ff0feef0anvdPatch
https://github.com/modelcontextprotocol/python-sdk/pull/2690nvdIssue Tracking, Patch
https://github.com/modelcontextprotocol/python-sdk/pull/2719nvdIssue Tracking, Patch
https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-jpw9-pfvf-9f58nvdVendor Advisory
https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.27.2nvdRelease Notes
https://api.vulncheck.com/v3/index/vulncheck-canaries?cve=CVE-2026-52869vulncheckVulncheck Reported Exploitation

Products

ProductAffectedPlatform boundSourcesUrl
lfprojects:mcp_python_sdk< 1.27.2nonvd/v1/products/lfprojects/mcp_python_sdk

Projects

RepositoryLink kindsIndexedUrl
modelcontextprotocol/python-sdkcommit, fix, package, pull, releases, security_advisoryyes/v1/repositories/modelcontextprotocol/python-sdk

Index

  • Repositories: 1115
  • Repositories high signal: 681
  • Packages: 1

Exploitation

  • Known exploited by: vulncheck
  • Vulncheck known exploited since: 2026-11-20
  • Remote: yes
  • Authentication required: yes
  • Hackerone reports: 1
  • Checked, none or zero: known exploited, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts