Supergateway 2.4.0 through 4.2.2 Cross-Site WebSocket Hijacking via stdioToWs

State
Published
Severity
8.6 High
Published
Nov 18, 2026
Updated
Nov 19, 2026
Reserved
Nov 18, 2026

Read the record on cve.org

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.

ProductVersions
supergateway supercorp-ai2.4.0 through 4.2.2 Affected

Weaknesses

  • CWE-1385 Missing Origin Validation in WebSockets

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.