Vulnerability  ·  2026-11-19

Supergateway unauthenticated denial of service via prototype-inherited sessionId (CVE-2026-131857)

VulnerabilityMedium impactGlobalCVE-2026-131857
Supergateway 4.2.0 through 4.2.2 in stdio-to-SSE mode lets an unauthenticated attacker crash the gateway by sending a POST message request with sessionId set to prototype-chain values (toString, constructor, __proto__, etc.), triggering an exception that terminates the process (15/15 runs in the researcher's PoC, no session or credentials required).
Supergateway bridges local MCP servers to the network for AI coding agents. An unauthenticated remote attacker can permanently crash the gateway with a single message, taking the bridged MCP server offline for the agent — a low-effort denial of service against the agent's tool connectivity.
Unauthenticated POST message request with sessionId set to a prototype-inherited value (toString/constructor) triggers an exception that crashes the gateway process.
Supergateway 4.2.0 through 4.2.2 (stdio-to-SSE mode)
Upgrade/patch Supergateway (treat non-string sessionId as invalid); enable --apiKey to require authenticated sessions.
Teycir supergateway-security-research (2026-11-17)NVD detail — CVE-2026-131857
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →