Supergateway
Monthly
Cross-site WebSocket hijacking in Supergateway 2.4.0 through 4.2.2 allows an attacker-controlled web page to open the gateway's /message WebSocket, initialize an MCP session, and invoke the tools of the wrapped stdio MCP server with the victim's privileges. The handshake lacks Origin header validation (CWE-1385), so the attack succeeds even when the gateway is bound only to localhost; the attacker must still lure a victim into loading a malicious or compromised page (CVSS 4.0 UI:P, PR:N - no attacker authentication). Impact is bounded by which tools the wrapped stdio MCP server actually exposes, a public PoC reference exists but is not verified as working exploit code, and there is no CISA KEV listing.
Cross-site WebSocket hijacking in Supergateway 2.4.0 through 4.2.2 allows an attacker-controlled web page to open the gateway's /message WebSocket, initialize an MCP session, and invoke the tools of the wrapped stdio MCP server with the victim's privileges. The handshake lacks Origin header validation (CWE-1385), so the attack succeeds even when the gateway is bound only to localhost; the attacker must still lure a victim into loading a malicious or compromised page (CVSS 4.0 UI:P, PR:N - no attacker authentication). Impact is bounded by which tools the wrapped stdio MCP server actually exposes, a public PoC reference exists but is not verified as working exploit code, and there is no CISA KEV listing.