# CVE-2026-59950: MCP Python SDK: WebSocket server transport does not support Host/Origin validation

- Priority: **Routine**
- Reason: Not severe (CVSS 7.6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-15 · Modified: 2026-07-17
- Aliases: GHSA-vj7q-gjh5-988w, PYSEC-2026-3483, CGA-4gfx-x85r-c5c7, CGA-7p29-3f7w-83w4, CGA-4r9q-fcvr-crjh, CGA-52c3-p52f-jj8w, CGA-7gfp-j673-fqj7, CGA-hgrc-5q37-54rv, CGA-m8j7-9jfp-frh4
- Record: https://cvemate.com/vulnerability/CVE-2026-59950 · JSON: https://cvemate.com/vulnerability/CVE-2026-59950/json

## Description

```text
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.
```

## Signals

- CVSS: 8.1 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- EPSS: 0.149%, percentile 4.276%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard kserve-huggingfaceserver-cuda-13.3 (Chainguard): All versions (No fix recorded) \| \< 0.21.0-r4
- chainguard litellm (Chainguard): \< 1.91.2-r2 \| \< 1.93.0-r0
- chainguard lmcache-cuda-12.8 (Chainguard): \< 0.5.3-r0
- chainguard semgrep (Chainguard): \< 1.172.0-r1
- chainguard tritonserver-backend-vllm-cuda-13.0 (Chainguard): \< 25.11-r11
- wolfi semgrep (Wolfi): \< 1.172.0-r1
- lfprojects mcp\_python\_sdk: \< 1.28.1
- modelcontextprotocol python-sdk: \< 1.28.1
- PyPI mcp (PyPI): \< 1.28.1

## References

- <https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-vj7q-gjh5-988w>
- <https://github.com/modelcontextprotocol/python-sdk/pull/2992>
- <https://github.com/modelcontextprotocol/python-sdk/commit/777b8d06710c140e3606b0d4598e2aa48546c266>
- <https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.28.1>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59950>
- <https://github.com/modelcontextprotocol/python-sdk>
- <https://pypi.org/project/mcp>
- <https://github.com/advisories/GHSA-vj7q-gjh5-988w>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59950.json>

---

Data as of 2026-12-05T04:44:03.732Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
