CVE-2026-52869

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:lfprojects:mcp_python_sdk:*:*:*:*:*:*:*:*

History

24 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) El SDK de Python de MCP, llamado mcp en PyPI, es una implementación en Python del Protocolo de Contexto de Modelo (MCP). Antes de la versión 1.27.2, los transportes SSE y HTTP Streamable con estado mcp.server.sse.SseServerTransport y mcp.server.streamable_http_manager.StreamableHTTPSessionManager enrutaban las solicitudes a sesiones existentes utilizando únicamente el parámetro de consulta session_id o el encabezado Mcp-Session-Id sin verificar el principal autenticado que creó la sesión, permitiendo que un cliente diferente autenticado con token de portador con un ID de sesión conocido inyectara mensajes JSON-RPC en esa sesión. Este problema está solucionado en la versión 1.27.2.

Information

Published : 2026-07-15 20:17

Updated : 2026-10-24 21:10


NVD link : CVE-2026-52869

Mitre link : CVE-2026-52869

CVE.ORG link : CVE-2026-52869


JSON object : View

Products Affected

lfprojects

  • mcp_python_sdk
CWE
CWE-639

Authorization Bypass Through User-Controlled Key