StraitOfVuln
Latest / CVE-2026-59950

CVE-2026-59950

HighCVSS 8.1 (v3.1)Analyzed
CVE.org ↗NVD ↗Vendor advisory ↗

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.

Details

CVE ID
CVE-2026-59950
Published / updated
15 Jul 2026, 21:16 UTC · last modified 24 Oct 2026, 21:10 UTC
Severity
HIGH
CVSS score
8.1 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N · Attack vector: Network
Affected vendor
Affected products
Mcp Python Sdk
Affected versions
Mcp Python Sdk: < 1.28.1
Fixed versions
mcp python sdk 1.28.1
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.15% probability of exploitation in the next 30 days · 4% percentile (02 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (mcp python sdk 1.28.1) per the vendor advisory.
Source (CNA)
security-advisories@github.com