CVE-2026-132121
Supergateway 2.4.0 through 4.2.2 contains a cross-site WebSocket …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Teycir/supergateway-security-research
- github.com/supercorp-ai/supergateway
- github.com/supercorp-ai/supergateway/blob/v4.2.2/src/gateways/stdioToWs.ts#L104-L126
- github.com/supercorp-ai/supergateway/issues/378
- www.vulncheck.com/advisories/supergateway-2.4.0-through-4.2.2-cross-site-websocket-hijacki
- nvd.nist.gov/vuln/detail/CVE-2026-132121
- cve.org/CVERecord?id=CVE-2026-132121
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.