CVE-2026-132121
CVE-2026-132121 · Supergateway 2.4.0 through 4.2.2 Cross-Site WebSocket Hijacking via stdioToWs
CVSS 8.6 · High · EPSS 0.2%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- supergatewayNo fix published
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
supergateway
- Versions
- ≥ 2.4.0, ≤ 4.2.2: Affected (semver)
No fix published
Original sources
- https://github.com/supercorp-ai/supergateway/issues/378
- https://github.com/supercorp-ai/supergateway/blob/v4.2.2/src/gateways/stdioToWs.ts#L104-L126
- https://github.com/supercorp-ai/supergateway
- https://github.com/Teycir/supergateway-security-research
- https://www.vulncheck.com/advisories/supergateway-2.4.0-through-4.2.2-cross-site-websocket-hijacking-via-stdiotows
- https://nvd.nist.gov/vuln/detail/CVE-2026-132121