Version 1.28.1 is listed as the patched MCP Python SDK release for CVE-2026-59950.
- supportsMCP Python SDK deprecated WebSocket transport lacked Host and Origin validation
Locator: Patched versions
The advisory lists 1.28.1 as patched.
Case · DiggingBeagle record
CVE-2026-59950 covered a deprecated MCP Python SDK WebSocket transport that did not validate Host or Origin, leaving local or LAN MCP servers exposed to cross-origin browser access when developers wired that transport themselves.
Deprecated MCP Python SDK WebSocket server transport before 1.28.1. FastMCP, stdio, SSE and Streamable HTTP are outside this advisory.
The vulnerability sits at the transport boundary rather than in a model. A browser page can initiate a WebSocket handshake to a local or LAN service. If the service does not validate where that browser request came from, the user's browser can become a bridge from hostile web content to a privileged MCP endpoint.
The advisory is narrower than a generic claim that MCP is browser-exploitable. The affected transport was deprecated, was not part of the MCP specification and required developers to wire it directly into an ASGI application. Applications using FastMCP did not reach this code path.
The patch in 1.28.1 adds the missing security handling. The broader lesson matches AutoJack and Windows-MCP: a service being local does not make the browser origin trustworthy.
A web origin can initiate connections from the victim browser.
Boundary: internet page / browser
The affected transport accepts the handshake without Host or Origin validation.
Boundary: browser / MCP transport
What follows depends on the tools and authorization exposed by that server.
Boundary: transport / tool authority
The project discloses the Host/Origin validation gap.
The GitHub Advisory Database record is updated.
Locator: Patched versions
The advisory lists 1.28.1 as patched.
Locator: Am I affected?
The advisory limits exposure to applications that explicitly wired mcp.server.websocket.websocket_server into an ASGI application.
Locator: Summary
The advisory says TransportSecuritySettings was not wired into the deprecated WebSocket transport.
diagram
Runs in the victim browser
Affected transport lacks Host/Origin validation
Impact depends on exposed tools and authorization
Local agent control planes need transport security that assumes hostile browser content. Host and Origin validation are controls, not substitutes for authentication and tool authorization.
DiggingBeagle. “A deprecated MCP WebSocket transport trusted the browser origin.” First seen Jul 7, 2026. https://diggingbeagle.com/cases/a-deprecated-mcp-websocket-transport-trusted-the-browser-origin/
Citation guidanceWhy this archive exists
DiggingBeagle is a non profit research project documenting AI security incidents, agent failures, vulnerabilities and AI-assisted operations. A case keeps its claims beside the sources that support, contest or limit them. Later updates stay visible, so a reader can see when the account changed.
We publish case reconstructions, dated reporting and analysis across records. Each has a different evidentiary role. About the project and our methodology explain how the work is reviewed.