# CVE-2026-52869: MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-07-15T20:06:23.604Z
- Modified: 2026-10-24T21:10:00.130Z
- Also known as: GHSA-jpw9-pfvf-9f58, PYSEC-2026-3482
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- modelcontextprotocol python-sdk: < 1.27.2
- mcp (PyPI): before 1.27.2
- lfprojects mcp_python_sdk: before 1.27.2

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L`
- PyPA Advisory Database: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L`

## References

- <https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-jpw9-pfvf-9f58> (vendor-advisory, 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/commit/1abcca2408a6b50e10ec601181f63f9978705c00> (patch, web)
- <https://github.com/modelcontextprotocol/python-sdk/commit/ce267b6fc515dc4efc1dc70b6975b16ff0feef0a> (patch, web)
- <https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.27.2> (release-notes, 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)

## Sources

- CVE List: [CVE-2026-52869](https://www.cve.org/CVERecord?id=CVE-2026-52869), CVE Terms of Use, modified 2026-07-16
- GitHub Advisory Database: [GHSA-jpw9-pfvf-9f58](https://github.com/advisories/GHSA-jpw9-pfvf-9f58), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-52869](https://nvd.nist.gov/vuln/detail/CVE-2026-52869), Public domain, modified 2026-10-24
- PyPA Advisory Database: [PYSEC-2026-3482](https://osv.dev/vulnerability/PYSEC-2026-3482), CC-BY-4.0, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-52869 · Whole record: https://cve.day/CVE-2026-52869.json · Rebuilt by cve.day 2026-11-25T22:59:28.340Z
