PoC Monitor
← All CVEs
CVE-2026-59950published 15 Jul 2026 20:08 UTCData: JSON · API

Modelcontextprotocol python-sdk

MCP 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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.1high · scored by NVD · CWE-346
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

modelcontextprotocol python-sdk
  • < 1.28.1

Fixed in 1.28.1

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published15 Jul 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.