CVE-2026-59950: lfprojects mcp_python_sdk Origin Validation Error
Vulnerability summary
CVE-2026-59950 is a high (CVSS 8.1) Origin Validation Error vulnerability in lfprojects mcp_python_sdk. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 13% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 15-07-2026PublishedVulnerability first disclosed.
- 17-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · PypiEcosystem advisory · calculated7.6HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated7.6HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated7.6HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- NVDNIST7.6HighCVSS: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
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
13%
Versus all other CVEs
30-day change
0.00 pp
From 0.23% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard5 products
- kserve-huggingfaceserver-cuda-13.3All versions (No fix recorded) | < 0.21.0-r4
- litellm< 1.91.2-r2 | < 1.93.0-r0
- lmcache-cuda-12.8< 0.5.3-r0
- semgrep< 1.172.0-r1
- tritonserver-backend-vllm-cuda-13.0< 25.11-r11
Lfprojects1 product
- mcp_python_sdk< 1.28.1
Modelcontextprotocol1 product
- python-sdk< 1.28.1
PyPI1 product
- mcp< 1.28.1
Wolfi1 product
- semgrep< 1.172.0-r1
5 vendors · 9 products
References
9 links- github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-vj7q-gjh5-988wX Refsource CONFIRMWEBAdvisoryVendor Advisory
- github.com/modelcontextprotocol/python-sdk/commit/777b8d06710c140e3606b0d4598e2aa48546c266X Refsource MISCWEBFIXPatch
- pypi.org/project/mcpPACKAGE