CVE-2026-59950: MCP Python SDK: WebSocket server transport does not support Host/Origin validation
modelcontextprotocol · python-sdk
Affected: modelcontextprotocol python-sdk · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 14% of scored CVEs
DescriptionCVE.org
The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP). Prior to 1.28.1, the deprecated mcp.server.websocket.websocket_server transport accepted WebSocket handshakes without applying Host or Origin header validation, leaving no SDK-level way to restrict which origins could connect to applications that exposed that transport. This issue is fixed in version 1.28.1.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- modelcontextprotocol · python-sdk< 1.28.1
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- modelcontextprotocol
- Published
- July 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-59950 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-1385cwe.mitre.org
- github.com/modelcontextprotocol/python-sdk/security/advisories/Ggithub.com
- github.com/modelcontextprotocol/python-sdk/pull/2992github.com
- github.com/modelcontextprotocol/python-sdk/commit/777b8d06710c14github.com
- github.com/modelcontextprotocol/python-sdk/releases/tag/v1.28.1github.com