supergateway tool invocation via WebSocket Origin bypass
supercorp-ai supergateway
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| supercorp-ai supergateway |
| No fix yet |
Original description
Supergateway 2.4.0 through 4.2.2 contains a cross-site WebSocket hijacking vulnerability in stdio-to-WebSocket mode that allows malicious web pages to connect by bypassing missing Origin header validation. Attackers can open the /message WebSocket from a victim's browser, even against localhost-bound gateways, to initialize an MCP session and invoke wrapped stdio MCP server tools with victim privileges.
From the CVE record · VulnCheck