{"id":"CVE-2026-52869","published":"2026-07-15T20:06:23Z","modified":"2026-07-16T13:00:37Z","title":"MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal","vendor":"modelcontextprotocol","product":"python-sdk","tier":"core","eol":null,"affectedVersions":[{"vendor":"modelcontextprotocol","product":"python-sdk","versions":["< 1.27.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-07-16T13:00:22.816039Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The MCP Python SDK (the mcp package on PyPI) contains a flaw in its SSE and stateful Streamable HTTP transports, which route requests to existing sessions by session ID without checking that the requester is the principal that created the session. An attacker who holds valid bearer-token authentication and learns a victim session's ID over the network can inject JSON-RPC messages into that session, provided the attacker knows the session ID and has a valid bearer token of their own.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:11Z"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00535,"percentile":0.46061,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-11-20","exploitedFirstSeen":null,"ransomware":false,"evidence":[],"evidenceTotal":0,"provenance":"source"},"exploited":true,"otx":{"pulseCount":2,"pulses":[{"name":"Known_Cve | Jul 24, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a62254165dd7b006b7a4b2d","created":"2026-07-23"},{"name":"Known_Cve | Jul 23, 2026 | Part 1/3","url":"https://otx.alienvault.com/pulse/6a60d50adbbf881cc99f29d3","created":"2026-07-22"}],"provenance":"machine"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-jpw9-pfvf-9f58","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/modelcontextprotocol/python-sdk/pull/2690","tags":["x_refsource_MISC"]},{"url":"https://github.com/modelcontextprotocol/python-sdk/pull/2719","tags":["x_refsource_MISC"]},{"url":"https://github.com/modelcontextprotocol/python-sdk/commit/1abcca2408a6b50e10ec601181f63f9978705c00","tags":["x_refsource_MISC"]},{"url":"https://github.com/modelcontextprotocol/python-sdk/commit/ce267b6fc515dc4efc1dc70b6975b16ff0feef0a","tags":["x_refsource_MISC"]},{"url":"https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.27.2","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"PyPI","package":"mcp","vulnerableRanges":["<1.27.2"],"patched":["1.27.2"],"from":["GHSA-jpw9-pfvf-9f58","PYSEC-2026-3482"],"provenance":"source"}],"advisories":[{"id":"GHSA-jpw9-pfvf-9f58","url":"https://github.com/advisories/GHSA-jpw9-pfvf-9f58","severity":"HIGH","ecosystem":"PyPI","package":"mcp","vulnerableRanges":["<1.27.2"],"patched":["1.27.2"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2026-44795","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-44795","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-07-15","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2026-52869","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":60.3,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":10.0,"detail":"added 1 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":9.21,"detail":"percentile 0.4606"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":1.08,"detail":"2 pulses"},{"name":"CVSS severity","points":4.97,"detail":"base score 7.1"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-modelcontextprotocol-python-sdk-cve-2025-66416","parents":[{"from":"CVE-2025-66416","to":"CVE-2026-52869","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mcp","fromFixed":"1.23.0","toFixed":"1.27.2","daysApart":225},{"kind":"same-code","provenance":"machine","files":["src/mcp/server/fastmcp/server.py"],"commits":["https://github.com/modelcontextprotocol/python-sdk/commit/d3a184119e4479ea6a63590bc41f01dc06e3fa99","https://github.com/modelcontextprotocol/python-sdk/commit/1abcca2408a6b50e10ec601181f63f9978705c00","https://github.com/modelcontextprotocol/python-sdk/commit/ce267b6fc515dc4efc1dc70b6975b16ff0feef0a"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2025-53366","published":"2025-07-04","fixed":"1.9.4","kev":false},{"cve":"CVE-2025-53365","published":"2025-07-04","fixed":"1.10.0","kev":false},{"cve":"CVE-2025-66416","published":"2025-12-02","fixed":"1.23.0","kev":false},{"cve":"CVE-2026-52869","published":"2026-07-15","fixed":"1.27.2","kev":false},{"cve":"CVE-2026-52870","published":"2026-07-15","fixed":"1.27.2","kev":false},{"cve":"CVE-2026-59950","published":"2026-07-15","fixed":"1.28.1","kev":false,"link":{"from":"CVE-2026-52869","to":"CVE-2026-59950","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mcp","fromFixed":"1.27.2","toFixed":"1.28.1","daysApart":0}]}},{"cve":"CVE-2026-115563","published":"2026-11-16","fixed":"2.2.0","kev":false}],"package":"PyPI:mcp"}}