Skip to content

CVE-2026-132121 Supergateway 2.4.0 through 4.2.2 Cross-Site WebSocket Hijacking via stdioToWs

HighCVSS 8.6 EPSS 0.16%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
npm supergateway >= 2.4.0, <= 4.2.2 after 4.2.2 Fixed

Affected products

ProductAffected versionsFixed in
npm supergateway >= 2.4.0, <= 4.2.2 No fix listed

References