CVE-2026-59950

HIGH CVSS 4.0: 7.6 EPSS 0.15%
Updated Jul 17, 2026
Lfprojects
Parameter Value
CVSS 7.6 (HIGH)
Affected Versions before 1.28.1
Fixed In 1.28.1
Type CWE-1385, CWE-346 (Origin Validation Error)
Vendor Lfprojects
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Lfprojects Mcp_Python_Sdk
cpe:2.3:a:lfprojects:mcp_python_sdk:*:*:*:*:*:*:*:*
1.28.1