CVE-2026-59950
Lfprojects Mcp Python Sdk vulnerability
- Published15 Jul 2026
Description
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.
CVSS 3.1 breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NAffected products
Remediation
References
- https://github.com/modelcontextprotocol/python-sdk/commit/777b8d06710c140e3606b0d4598e2aa48546c266
- https://github.com/modelcontextprotocol/python-sdk/pull/2992
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.28.1
- https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-vj7q-gjh5-988w
Related CVEs
Recent high-severity vulnerabilities sharing a weakness type.
Frequently asked
Is CVE-2026-59950 being actively exploited?
CVE-2026-59950 is not in the CISA KEV catalog. Its EPSS exploit probability is 0.23%.
How severe is CVE-2026-59950?
CVE-2026-59950 has a CVSS 3.1 base score of 8.1, rated high. EPSS estimates a 0.23% probability of exploitation.
Which products are affected by CVE-2026-59950?
Affected products include Lfprojects Mcp Python Sdk.
How do I fix CVE-2026-59950?
Upgrade affected software to a fixed version, for example Lfprojects Mcp Python Sdk 1.28.1 or later, then confirm no affected versions remain in your inventory.
How Secuno handles this
Secuno correlates vulnerabilities like CVE-2026-59950 against the real software inventory on every managed device, as each hourly inventory arrives. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.
Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.