{"id":"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.","modified":"2026-11-18T01:00:14.628050923Z","published":"2026-11-17T23:42:24.720Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/131xxx/CVE-2026-131857.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-754"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/131xxx/CVE-2026-131857.json"},{"type":"EVIDENCE","url":"https://github.com/Teycir/supergateway-security-research"},{"type":"PACKAGE","url":"https://github.com/supercorp-ai/supergateway"},{"type":"ARTICLE","url":"https://github.com/supercorp-ai/supergateway/blob/v4.2.2/src/gateways/stdioToSse.ts#L222-L238"},{"type":"FIX","url":"https://github.com/supercorp-ai/supergateway/commit/e2254169a0780ec7c299fff7d51e128b013a65d3"},{"type":"REPORT","url":"https://github.com/supercorp-ai/supergateway/issues/378"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-131857"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/supergateway-4.2.0-through-4.2.2-dos-via-prototype-inherited-sessionid"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/supercorp-ai/supergateway","events":[{"introduced":"2b7504bbb63634f2aeb5083461bd8c9ff0d9a2c8"},{"last_affected":"8bf6a94cbfefb2c1736feca507bf898092232722"},{"fixed":"e2254169a0780ec7c299fff7d51e128b013a65d3"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"4.2.0"},{"last_affected":"4.2.2"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"e2254169a0780ec7c299fff7d51e128b013a65d3"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v4.2.2","v4.2.1","v4.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-131857.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}