Skip to main content

Supergateway CVE-2026-131857

| EUVDEUVD-2026-128323 HIGH
Improper Check for Unusual or Exceptional Conditions (CWE-754)
2026-11-18 disclosure@vulncheck.com GHSA-vpvw-x889-f934
8.7
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach SSE message endpoint (unauthenticated)
  2. Exploit
    POST sessionId = toString/constructor
  3. Execution
    Unhandled TypeError crashes gateway
  4. Impact
    All attached MCP sessions terminated

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Unusual condition handling
Exploitation Conditions

Requires the gateway to be running in stdio-to-SSE mode and the SSE POST message endpoint to be network-reachable by the attacker; exploitation is then a single unauthenticated POST whose sessionId is a prototype-inherited property name (toString or constructor). No authentication, user interaction, non-default tuning, or special timing is needed against a default stdio-to-SSE deployment. Limiting factors: the instance must actually be in stdio-to-SSE mode rather than another transport, and exposure depends on whether the endpoint is reachable (internet-exposed vs. localhost-only); if an API key is configured to lock the server, an attacker would additionally need that key, though the input does not confirm whether the message endpoint is covered by that protection.

Impact

Multiple signals agree this is a genuine but bounded availability risk. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a trivially reachable, unauthenticated, network-facing trigger with no user interaction, and the impact is confined to availability (VA:H) with no confidentiality or integrity impact (VC:N/VI:N) - consistent with the description's unhandled TypeError that terminates all attached MCP sessions. The 8.7 score is driven almost entirely by ease of exploitation, not by severity of impact: there is no code execution, data disclosure, or integrity loss. KEV is not listed, so there is no confirmed active exploitation, and no EPSS score is provided in the input, so widespread-exploitation probability cannot be quantified here. A public PoC reference exists (the Teycir supergateway-security-research repository) but the input does not confirm it as working exploit code, so POC availability must not be conflated with active exploitation. The vuln.today decision label is 'this_week' (not act_now/emergency), which aligns with an easy-to-trigger but availability-only flaw in a niche component. Net assessment: real and worth remediating on a this-week cadence because it is a one-shot unauthenticated crash of all sessions, but it is a high-CVSS availability issue rather than a breach-grade emergency.

Exploit ScenarioDerived

An attacker who can reach a Supergateway instance running in stdio-to-SSE mode sends a single crafted POST to the message endpoint with sessionId set to a prototype-inherited property name such as toString or constructor. Because AC:L/PR:N/UI:N, no authentication, special timing, or victim interaction is needed; the resulting unhandled TypeError crashes the gateway and tears down every attached MCP session at once. A public PoC reference exists but is not verified in the input as working exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Denial of service in Supergateway 4.2.0 through 4.2.2 lets unauthenticated remote attackers crash a gateway running in stdio-to-SSE mode and terminate every attached MCP session. A single POST to the SSE message endpoint with sessionId set to a prototype-inherited name such as toString or constructor triggers an unhandled TypeError. The vulnerability is high severity (CVSS 8.7) but bounded: it requires stdio-to-SSE mode and network reachability, and a public security research reference exists without confirmed working exploit code.

RemediationAI

Apply the upstream fix referenced by commit e2254169a0780ec7c299fff7d51e128b013a65d3, upgrading to a Supergateway release that contains it; the supplied data does not name an exact tagged fixed version, so verify the release includes that commit. Until patched, restrict network access to the stdio-to-SSE POST message endpoint by binding to localhost or by using firewall or reverse-proxy controls, recognizing that this may block legitimate remote MCP clients. Where supported, configure an API key to lock the server, noting that the provided data does not confirm whether the message endpoint is covered by that protection. If stdio-to-SSE mode is not required, avoid running it. Track GitHub issue #378 and the VulnCheck advisory for updates; this is a this_week priority under the supplied decision label.

Affected VersionsENISA

supergateway 4.2.0 ≤4.2.2

Affected Packages

euvd supergateway no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Supergateway is a TypeScript gateway that exposes stdio-based Model Context Protocol servers over HTTP transports, including SSE. In stdio-to-SSE mode, the POST message handler uses the client-supplied sessionId to look up the corresponding SSEServerTransport; because the lookup accepts inherited Object.prototype members, values such as toString or constructor resolve to inherited functions instead of stored transports. The code then treats that value as a transport, producing an uncaught TypeError that terminates the process and drops all connected MCP sessions. CWE-754 describes the missing check for this exceptional condition; the affected logic is referenced at src/gateways/stdioToSse.ts lines 222-238, with GitHub issue #378 and commit e2254169a0780ec7c299fff7d51e128b013a65d3 cited.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

Unauthenticated network POST with no user interaction and a reliable single-request trigger (AV:N/AC:L/PR:N/UI:N); impact is an availability-only crash (A:H) with no confidentiality or integrity loss and no scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Supergateway versions 4.2.0 through 4.2.2 running in stdio-to-SSE mode are vulnerable to a high-severity denial-of-service flaw that allows an unauthenticated remote attacker to crash the gateway and terminate all attached MCP sessions with a single crafted request. This impacts any team relying on these gateway deployments for Model Context Protocol communications, causing immediate service disruption and loss of session state, which can halt AI-driven workflows and degrade operational continuity. Leadership should prioritize mitigation because the flaw is remotely exploitable without credentials, and while no working exploit is publicly verified, the attack is trivial to execute.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: restricting network access to the SSE message endpoint to trusted IP ranges; deploying a reverse proxy or Web Application Firewall (WAF) to inspect and block requests containing prototype-inherited sessionId values (e.g., toString, constructor); disabling stdio-to-SSE mode where feasible; and monitoring gateway logs for repeated TypeError exceptions indicating attempted exploitation.

Threat Intelligence Overview

EPSS Score
0.7%
Top 48% exploitable
Prevalence
Low
niche developer MCP gateway tool, limited production deployment footprint
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy