CVE-2026-131857
Supergateway 4.2.0 through 4.2.2 contains a denial of service …
Supergateway 4.2.0 through 4.2.2 contains a denial of service vulnerability in stdio-to-SSE mode that allows unauthenticated attackers to crash the gateway via prototype-inherited sessionId values. Attackers can send a POST message request with sessionId set to toString or constructor, triggering an unhandled TypeError that terminates every attached MCP session.
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/blob/v4.2.2/src/gateways/stdioToSse.ts#L222-L238
- github.com/supercorp-ai/supergateway/commit/e2254169a0780ec7c299fff7d51e128b013a65d3
- github.com/supercorp-ai/supergateway/issues/378
- www.vulncheck.com/advisories/supergateway-4.2.0-through-4.2.2-dos-via-prototype-inherited-
- nvd.nist.gov/vuln/detail/CVE-2026-131857
- cve.org/CVERecord?id=CVE-2026-131857
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.