CVEs / CVE-2026-59950
CVE-2026-59950
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 products · 1
| Product | Versions affected | Fixed in |
|---|---|---|
| lfprojects: mcp python sdk | < 1.28.1 | 1.28.1 |
Versions as NVD's CPE configuration states them; "—" means the record gives no fixed version, not that none exists. Check the vendor's advisory in the references.
In this registry
- python-sdk — agent dossier
- typescript-sdk — agent dossier
References · 4
- github.com/modelcontextprotocol/python-sdk/commit/777b8d06710c140e3606b0d4598e2aa48546c266 — Patch
- github.com/modelcontextprotocol/python-sdk/pull/2992 — Issue Tracking, Patch
- github.com/modelcontextprotocol/python-sdk/releases/tag/v1.28.1 — Release Notes
- github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-vj7q-gjh5-988w — Vendor Advisory
The official record's references, as NVD lists them, minus any tagged Exploit. Nothing here is an exploit or a proof of concept.
Description, scores, versions and references are the official CVE record's own, retrieved 2026-10-26 from NVD. Category, attack surface and cross-links are this registry's classification and can be wrong — use the button above. Not a severity assessment for your deployment.