CVE-2026-52869 MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
HighCVSS 7.1
EPSS 0.53%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi mcp(PyPI) | < 1.27.2 | 1.27.2 |
| pypi mcp(PyPI) | = 0.9.1 | No fix listed |
| pypi mcp(PyPI) | = 1.0.0 | No fix listed |
| pypi mcp(PyPI) | = 1.1.0 | No fix listed |
| pypi mcp(PyPI) | = 1.1.1 | No fix listed |
| pypi mcp(PyPI) | = 1.1.2 | No fix listed |
| pypi mcp(PyPI) | = 1.1.3 | No fix listed |
| pypi mcp(PyPI) | = 1.10.0 | No fix listed |
| pypi mcp(PyPI) | = 1.10.1 | No fix listed |
| pypi mcp(PyPI) | = 1.11.0 | No fix listed |
| pypi mcp(PyPI) | = 1.12.0 | No fix listed |
| pypi mcp(PyPI) | = 1.12.1 | No fix listed |
| pypi mcp(PyPI) | = 1.12.2 | No fix listed |
| pypi mcp(PyPI) | = 1.12.3 | No fix listed |
| pypi mcp(PyPI) | = 1.12.4 | No fix listed |
| pypi mcp(PyPI) | = 1.13.0 | No fix listed |
| pypi mcp(PyPI) | = 1.13.1 | No fix listed |
| pypi mcp(PyPI) | = 1.14.0 | No fix listed |
| pypi mcp(PyPI) | = 1.14.1 | No fix listed |
| pypi mcp(PyPI) | = 1.15.0 | No fix listed |
| pypi mcp(PyPI) | = 1.16.0 | No fix listed |
| pypi mcp(PyPI) | = 1.17.0 | No fix listed |
| pypi mcp(PyPI) | = 1.18.0 | No fix listed |
| pypi mcp(PyPI) | = 1.19.0 | No fix listed |
| pypi mcp(PyPI) | = 1.2.0 | No fix listed |
Show 34 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi mcp(PyPI) | = 1.2.0rc1 | No fix listed |
| pypi mcp(PyPI) | = 1.2.1 | No fix listed |
| pypi mcp(PyPI) | = 1.20.0 | No fix listed |
| pypi mcp(PyPI) | = 1.21.0 | No fix listed |
| pypi mcp(PyPI) | = 1.21.1 | No fix listed |
| pypi mcp(PyPI) | = 1.21.2 | No fix listed |
| pypi mcp(PyPI) | = 1.22.0 | No fix listed |
| pypi mcp(PyPI) | = 1.23.0 | No fix listed |
| pypi mcp(PyPI) | = 1.23.1 | No fix listed |
| pypi mcp(PyPI) | = 1.23.2 | No fix listed |
| pypi mcp(PyPI) | = 1.23.3 | No fix listed |
| pypi mcp(PyPI) | = 1.24.0 | No fix listed |
| pypi mcp(PyPI) | = 1.25.0 | No fix listed |
| pypi mcp(PyPI) | = 1.26.0 | No fix listed |
| pypi mcp(PyPI) | = 1.27.0 | No fix listed |
| pypi mcp(PyPI) | = 1.27.1 | No fix listed |
| pypi mcp(PyPI) | = 1.3.0 | No fix listed |
| pypi mcp(PyPI) | = 1.3.0rc1 | No fix listed |
| pypi mcp(PyPI) | = 1.4.0 | No fix listed |
| pypi mcp(PyPI) | = 1.4.1 | No fix listed |
| pypi mcp(PyPI) | = 1.5.0 | No fix listed |
| pypi mcp(PyPI) | = 1.6.0 | No fix listed |
| pypi mcp(PyPI) | = 1.7.0 | No fix listed |
| pypi mcp(PyPI) | = 1.7.1 | No fix listed |
| pypi mcp(PyPI) | = 1.8.0 | No fix listed |
| pypi mcp(PyPI) | = 1.8.1 | No fix listed |
| pypi mcp(PyPI) | = 1.9.0 | No fix listed |
| pypi mcp(PyPI) | = 1.9.1 | No fix listed |
| pypi mcp(PyPI) | = 1.9.2 | No fix listed |
| pypi mcp(PyPI) | = 1.9.3 | No fix listed |
| pypi mcp(PyPI) | = 1.9.4 | No fix listed |
| modelcontextprotocol python-sdk | = < 1.27.2 | No fix listed |
| pypi mcp(PyPI) | <= 1.27.1 | No fix listed |
| lfprojects mcp python sdk | < 1.27.2 | 1.27.2 |
References
- https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-jpw9-pfvf-9f58 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/modelcontextprotocol/python-sdk/pull/2690 issue-tracking patch
- https://github.com/modelcontextprotocol/python-sdk/pull/2719 issue-tracking patch
- https://github.com/modelcontextprotocol/python-sdk/commit/1abcca2408a6b50e10ec601181f63f9978705c00 patch
- https://github.com/modelcontextprotocol/python-sdk/commit/ce267b6fc515dc4efc1dc70b6975b16ff0feef0a patch
- github.com product
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.27.2 release-notes
- pypi.org product
- github.com vendor-advisory