CVE-2026-131857
CVE-2026-131857 · Supergateway 4.2.0 through 4.2.2 DoS via Prototype-Inherited sessionId
CVSS 8.7 · High · EPSS 0.7%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- supergatewayNo fix published
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
supergateway
- Versions
- ≥ 4.2.0, ≤ 4.2.2: Affected (semver)
No fix published
Original sources
- https://github.com/supercorp-ai/supergateway/issues/378
- https://github.com/supercorp-ai/supergateway/blob/v4.2.2/src/gateways/stdioToSse.ts#L222-L238
- https://github.com/supercorp-ai/supergateway/commit/e2254169a0780ec7c299fff7d51e128b013a65d3
- https://github.com/Teycir/supergateway-security-research
- https://www.vulncheck.com/advisories/supergateway-4.2.0-through-4.2.2-dos-via-prototype-inherited-sessionid
- https://nvd.nist.gov/vuln/detail/CVE-2026-131857