gcdRadar
archive/Patch now/AIR-2026-0807
closedclosed 15 Jul 2026Patch now2 Disclosed vulnerabilityAI

CVE-2026-59950: MCP Python SDK WebSocket server lacks Host and Origin validation

MCP Python SDK

The deprecated WebSocket server transport in the MCP Python SDK accepts handshakes without validating Host or Origin headers. This exposes applications exposing this transport to potential cross-site connection vulnerabilities.

disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why

CVSS
7.6
EPSS
<0.01 · top 86% · 2026-11-13
fix status
Fix status unknown
first report
15 Jul 2026
last update
16 Jul 2026

Timeline · 2

  1. 15 Jul 2026CVE-2026-59950: The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP).
  2. 16 Jul 2026CVE-2026-59950: MCP Python SDK: WebSocket server transport does not support Host/Origin validation

Sources · 2

Advisories and databases

  1. 2026-07-15
  2. 2026-07-16
    CVE-2026-59950: MCP Python SDK: WebSocket server transport does not support Host/Origin validation
    GitHub Advisory Database · github.com/advisories/GHSA-vj7q-gjh5-988w

Titles and links belong to their publishers. The summary above is written by gcdRadar in its own words; data is CC BY-SA 4.0.

Classification

AI role
Attack on AI
categories
Infrastructure vulnerability
severity
2 · Disclosed vulnerability
fix status
Fix status unknown
targets
Framework / tooling
owasp llm top 10
LLM03:2025 Supply Chain
mitre atlas
no technique for these categories
dates
happened 16 Jul 2026 · first reported 15 Jul 2026
origin
GitHub Advisory Database
Vulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
record
confidence 0.95 · created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z

Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned

Copy a brief

This record as a short Markdown brief, for a ticket, a chat or a coding agent.

the brief as text
# CVE-2026-59950: MCP Python SDK WebSocket server lacks Host and Origin validation

https://gcdradar.vercel.app/incidents/cve-2026-59950-mcp-python-sdk-websocket-server-lacks-host-an · AIR-2026-0807 · closed 2026-07-15

- Lane: Patch now
- Severity: 2 (Disclosed vulnerability)
- Fix status: Fix status unknown
- First reported: 2026-07-15 (happened 2026-07-16)
- AI role: Attack on AI
- Products: MCP Python SDK
- CVE ids: CVE-2026-59950
- CVSS: 7.6

## Summary

The deprecated WebSocket server transport in the MCP Python SDK accepts handshakes without validating Host or Origin headers. This exposes applications exposing this transport to potential cross-site connection vulnerabilities.

## What to do

No action recorded; read the sources below and the vendor's advisory.

## Latest updates

- 2026-07-16: CVE-2026-59950: MCP Python SDK: WebSocket server transport does not support Host/Origin validation (https://github.com/advisories/GHSA-vj7q-gjh5-988w)
- 2026-07-15: CVE-2026-59950: The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP). (https://nvd.nist.gov/vuln/detail/CVE-2026-59950)

## Sources

- 2026-07-15 NVD: CVE-2026-59950: The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP). https://nvd.nist.gov/vuln/detail/CVE-2026-59950
- 2026-07-16 GitHub Advisory Database: CVE-2026-59950: MCP Python SDK: WebSocket server transport does not support Host/Origin validation https://github.com/advisories/GHSA-vj7q-gjh5-988w

Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.

Related

  1. closed7.1
    MCP SDKs CVE-2026-52869: MCP Python SDK HTTP transports fail to verify authenticated principal

    Patch now · Disclosed · since 16 Jul 2026 · updated 16 Jul 2026 · CVE-2026-52869

    AI
  2. closed7.6
    MCP SDKs CVE-2026-52870: MCP Python SDK experimental task handlers allow unauthorized task access

    Patch now · Disclosed · since 16 Jul 2026 · updated 16 Jul 2026 · CVE-2026-52870

    AI
  3. closed7.1
    AI
  4. closed9.1
    Langflow CVE-2026-19297: IBM Langflow OSS authentication restriction vulnerability

    Patch now · Disclosed · since 13 Aug 2026 · CVE-2026-19297

    AI
  5. closed8.6
    Flowise CVE-2026-73484: Flowise pythonCodeValidator sandbox escape vulnerability

    Patch now · Disclosed · since 13 Aug 2026 · CVE-2026-73484

    AI
  6. closed8.8
    ClaudeHookBridge CVE-2026-73614: ClaudeHookBridge deny pattern bypass vulnerability

    Patch now · Disclosed · since 13 Aug 2026 · CVE-2026-73614

    AI