CVE-2026-59950: The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP)
CVE-2026-59950 is a high-severity flaw (CVSS 8.1) affecting mcp python sdk. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
A fixed release or distro patch exists.
Last updated 2026-10-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-59950?
mcp python sdk: upgrade to 1.28.1. Exact commands for each OS are on this page.
Is CVE-2026-59950 being exploited?
CVE-2026-59950 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-59950 affect?
CVE-2026-59950 affects mcp python sdk. Severity is high (CVSS 8.1). 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 O
How urgent is CVE-2026-59950?
Priority 32/100. High severity
Software pages
Python vulnerabilities · PyPI packages vulnerabilities
Related CVEs
- CVE-2026-52869 HIGH 7.1 UPGRADE The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP)
- CVE-2026-52870 HIGH 7.6 UPGRADE The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP)