← All Advisories
Reported from OT-Advisories.com as of

MCP Python SDK Deprecated WebSocket Transport Accepts Connections Without Validating the Request Origin Before Version 1.28.1

Last refreshed2026-11-17

Status: UPDATED  |  Advisory ID: CVE-2026-59950

Key Details

CVECVE-2026-59950
CVSS Score / Version
8.1 (High) / CVSS v3.1
Updated2026-10-24
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
CVSS Prose
attack vector is network; attack complexity is low; privileges required is none; user interaction is required; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is none.
Affected products
lfprojects mcp_python_sdk and modelcontextprotocol python-sdk
Classified as
CWE-346 (Origin Validation Error)
Exploitation prediction (EPSS)
0.23% probability of exploitation in the next 30 days (14% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
lfprojectsmcp_python_sdk
modelcontextprotocolpython-sdk
SubsystemsGeneral OT
SectorsMultiple

What to Know

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. (NVD)

What to Do

Monitor lfprojects's and modelcontextprotocol's web pages for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-59950
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-59950
Vendor advisoryhttps://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-vj7q-gjh5-988w
Vendor advisoryhttps://github.com/modelcontextprotocol/python-sdk/commit/777b8d06710c140e3606b0d4598e2aa48546c266
Vendor advisoryhttps://github.com/modelcontextprotocol/python-sdk/pull/2992
Vendor advisoryhttps://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.28.1
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.