CVE-2026-52869
CVE-2026-52869 · MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 7.1 · Élevée · EPSS 0,5% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: python
Produits et versions concernés
python-sdk
- Versions du logiciel
- < 1.27.2: Concernée
Aucun correctif publié
mcp PyPI
- Versions du logiciel
- 0.9.1
- 1.0.0
- 1.1.0
- 1.1.1
- 1.1.2
- 1.1.3
- 1.10.0
- 1.10.1
- 1.11.0
- 1.12.0
- 1.12.1
- 1.12.2
- 1.12.3
- 1.12.4
- 1.13.0
- 1.13.1
- 1.14.0
- 1.14.1
- 1.15.0
- 1.16.0
- 1.17.0
- 1.18.0
- 1.19.0
- 1.2.0
- 1.2.0rc1
- 1.2.1
- 1.20.0
- 1.21.0
- 1.21.1
- 1.21.2
- 1.22.0
- 1.23.0
- 1.23.1
- 1.23.2
- 1.23.3
- 1.24.0
- 1.25.0
- 1.26.0
- 1.27.0
- 1.27.1
- 1.3.0
- 1.3.0rc1
- 1.4.0
- 1.4.1
- 1.5.0
- 1.6.0
- 1.7.0
- 1.7.1
- 1.8.0
- 1.8.1
- 1.9.0
- 1.9.1
- 1.9.2
- 1.9.3
- 1.9.4
- Plages de versions concernées
- ECOSYSTEM: < 1.27.2
Mettez à jour vers 1.27.2
Sources originales
- https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-jpw9-pfvf-9f58
- https://github.com/modelcontextprotocol/python-sdk/pull/2690
- https://github.com/modelcontextprotocol/python-sdk/pull/2719
- https://github.com/modelcontextprotocol/python-sdk/commit/1abcca2408a6b50e10ec601181f63f9978705c00
- https://github.com/modelcontextprotocol/python-sdk/commit/ce267b6fc515dc4efc1dc70b6975b16ff0feef0a
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.27.2
- https://nvd.nist.gov/vuln/detail/CVE-2026-52869