CVE-2026-131857
Dashboard / Vulnerabilities / CVE-2026-131857
CVE-2026-131857
Summary: Supergateway 4.2.0 through 4.2.2 DoS via Prototype-Inherited sessionId
Details: 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.
References: https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/131xxx/CVE-2026-131857.json, https://nvd.nist.gov/vuln/detail/CVE-2026-131857, https://www.vulncheck.com/advisories/supergateway-4.2.0-through-4.2.2-dos-via-prototype-inherited-sessionid, https://github.com/supercorp-ai/supergateway/issues/378, https://github.com/supercorp-ai/supergateway/commit/e2254169a0780ec7c299fff7d51e128b013a65d3, https://github.com/supercorp-ai/supergateway, https://github.com/supercorp-ai/supergateway/blob/v4.2.2/src/gateways/stdioToSse.ts#L222-L238, https://github.com/Teycir/supergateway-security-research
Affected packages
Package
Name:
Purl:
Affected ranges
Type: GIT
Events:
