CVE-2026-52869
HIGH 7.1CVSS 3.1MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
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.
- Published
- 15 Jul 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-639
- Also known as
- GHSA-jpw9-pfvf-9f58PYSEC-2026-3482
- Sources
- NVDJSONOSV GHSA-jpw9-pfvf-9f58JSONOSV PYSEC-2026-3482JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L |
| OSV | PyPA | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lfprojects | mcp_python_sdkcpe:2.3:a:lfprojects:mcp_python_sdk:*:*:*:*:*:*:*:* |
< 1.27.2 | 1.27.2 |
| OSV | PyPI | mcp | < 1.27.2 | 1.27.2 |
References
- https://github.com/modelcontextprotocol/python-sdk/commit/1abcca2408a6b50e10ec601181f63f9978705c00 · Patch, WEB
- https://github.com/modelcontextprotocol/python-sdk/commit/ce267b6fc515dc4efc1dc70b6975b16ff0feef0a · Patch, WEB
- https://github.com/modelcontextprotocol/python-sdk/pull/2690 · Issue Tracking, Patch, WEB
- https://github.com/modelcontextprotocol/python-sdk/pull/2719 · Issue Tracking, Patch, WEB
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.27.2 · Release Notes, WEB
- https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-jpw9-pfvf-9f58 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-52869 · ADVISORY
- https://github.com/modelcontextprotocol/python-sdk · PACKAGE
- https://pypi.org/project/mcp · PACKAGE
- https://github.com/advisories/GHSA-jpw9-pfvf-9f58 · ADVISORY
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 15 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Jul 2026)