Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-59950
VULNERABILITY

CVE-2026-59950

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
7.6
Severity
HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

Published
Jul 15, 2026 21:16
Modified
Oct 24, 2026 21:10
Last observed
Oct 24, 2026 23:20

CWE

CWE-346CWE-1385

Affected product identifiers

cpe:2.3:a:lfprojects:mcp_python_sdk:*:*:*:*:*:*:*:*

References