CVE-2026-59950
HIGH 7.6CVSS 4.0MCP Python SDK: WebSocket server transport does not support Host/Origin validation
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.
- Published
- 15 Jul 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1385CWE-346
- Also known as
- GHSA-vj7q-gjh5-988wPYSEC-2026-3483
- Sources
- NVDJSONOSV GHSA-vj7q-gjh5-988wJSONOSV PYSEC-2026-3483JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.6 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lfprojects | mcp_python_sdkcpe:2.3:a:lfprojects:mcp_python_sdk:*:*:*:*:*:*:*:* |
< 1.28.1 | 1.28.1 |
| OSV | PyPI | mcp | < 1.28.1 | 1.28.1 |
References
- https://github.com/modelcontextprotocol/python-sdk/commit/777b8d06710c140e3606b0d4598e2aa48546c266 · Patch, WEB
- https://github.com/modelcontextprotocol/python-sdk/pull/2992 · Issue Tracking, Patch, WEB
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.28.1 · Release Notes, WEB
- https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-vj7q-gjh5-988w · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-59950 · ADVISORY
- https://github.com/modelcontextprotocol/python-sdk · PACKAGE
- https://pypi.org/project/mcp · PACKAGE
- https://github.com/advisories/GHSA-vj7q-gjh5-988w · ADVISORY
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 15 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 16 Jul 2026)