{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-52869","id":"CVE-2026-52869","title":"MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal","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 auth","descriptionLong":"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":"2026-07-15T20:06:23.604Z","updated":"2026-10-28T02:30:52.161023808Z","reserved":"2026-06-08T21:44:27.363Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","rating":"high","source":"github.com"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","rating":"high","source":"GitHub"}],"rating":"high","products":["modelcontextprotocol python-sdk"],"affectedProducts":[{"vendor":"modelcontextprotocol","product":"python-sdk","defaultStatus":null,"versions":[{"version":"< 1.27.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"mcp","purl":"pkg:pypi/mcp","ranges":["<1.27.2"],"fixed":["1.27.2"],"advisory":"GHSA-jpw9-pfvf-9f58"}],"cwes":["CWE-639"],"aliases":["GHSA-jpw9-pfvf-9f58","PYSEC-2026-3482"],"references":[{"url":"https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-jpw9-pfvf-9f58","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/modelcontextprotocol/python-sdk/pull/2690","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/modelcontextprotocol/python-sdk/pull/2719","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/modelcontextprotocol/python-sdk/commit/1abcca2408a6b50e10ec601181f63f9978705c00","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/modelcontextprotocol/python-sdk/commit/ce267b6fc515dc4efc1dc70b6975b16ff0feef0a","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.27.2","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52869.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52869","tags":["advisory"]},{"url":"https://github.com/modelcontextprotocol/python-sdk","tags":["package"]},{"url":"https://pypi.org/project/mcp","tags":["package"]},{"url":"https://github.com/advisories/GHSA-jpw9-pfvf-9f58","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00535,"epssPercentile":0.45851,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-52869","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52869","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-52869","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-jpw9-pfvf-9f58","ok":true,"note":"GHSA-jpw9-pfvf-9f58"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-52869","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}