Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure victim to malicious website
-
DeliveryRebind DNS to localhost gateway
-
ExploitBrowser reaches /sse or /mcp endpoint
-
ExecutionInvoke tools on backend MCP servers
-
ImpactManipulate MCP tools or exfiltrate results
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Dangerous method exposure prevention
|
| Exploitation Conditions | Exploitation requires the Docker MCP Gateway to be started in sse or streaming transport mode (the --transport option), which opens a listening network port; the default stdio mode does not listen on any port and is NOT affected. The attacker must also lure the victim into visiting an attacker-controlled web page or cause a malicious advertisement to be rendered in the victim's browser (user interaction is mandatory per UI:P), and must operate DNS-rebinding infrastructure to defeat same-origin/localhost expectations (reflected by AT:P). Limiting factors that reduce real-world risk: the vulnerable sse/streaming mode is non-default, the attack depends on victim browser interaction, and the pre-patch code had no Origin-header validation - the fix (v0.28.0) rejects any request whose Origin is not localhost/127.0.0.1/::1. |
| Impact | Signals point to a real but conditional and lower-tier risk rather than an urgent, mass-exploitation priority. The CVSS 4.0 base score is 7.3 (High) with AV:N/AC:L/PR:N, but two metrics materially temper it: AT:P (a specific attack requirement - the attacker must stand up DNS-rebinding infrastructure and win a rebind race) and UI:P (the victim must be lured to a malicious page or served a malicious ad). EPSS is 0.02% (4th percentile), i.e. very low predicted exploitation, which is consistent with KEV absence (not listed by CISA) and with no public exploit code identified in the provided data. The SSVC-style read: exploitation status is 'none observed', the attack is NOT trivially automatable (requires per-victim social engineering plus rebinding), and technical impact is partial-to-total against the MCP servers behind the gateway (VI:H, SC/SI/SA:H via scope change). No hard contradictions exist across sources, but note one nuance to verify: the input Tags label this 'Information Disclosure' while the description and CVSS (VI:H, VC:L) indicate the dominant impact is integrity/manipulation of MCP tools rather than data disclosure. Crucially, risk is gated by configuration - only sse or streaming (--transport) modes are affected; the default stdio mode does not listen on network ports and is not exploitable. Net: a legitimate issue worth patching for anyone running network transports, but not a drop-everything emergency given low EPSS, no KEV, no known POC, and the user-interaction + non-default-config prerequisites. |
| Exploit ScenarioDerived | An operator runs Docker MCP Gateway in sse or streaming transport mode, exposing /sse or /mcp on a local port. A victim with that gateway running is lured to an attacker-controlled website (or served a malicious ad), which uses DNS rebinding to make the victim's browser treat the attacker's domain as the local gateway, then issues cross-origin requests that reach the MCP endpoint and manipulate tools or features exposed by the backend MCP servers. No public exploit code was identified in the provided data, though the fixing commit and tests publicly detail the missing Origin-header/localhost check that enabled the attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 18, 2026
DNS rebinding in Docker MCP Gateway 0.27.0 and earlier lets a malicious website reach MCP servers running behind the gateway when it is started in sse or streaming transport mode, allowing an attacker to invoke and manipulate the tools those servers expose. The gateway is unauthenticated on that listener (CVSS v4.0 PR:N) but exploitation is conditional: the victim must be lured to an attacker-controlled page or malicious ad, and the attacker must run DNS-rebinding infrastructure to defeat localhost expectations. Deployment in the non-default sse/streaming mode is required - the default stdio mode opens no network port and is unaffected - and no public exploit code or CISA KEV entry has been identified at time of analysis, with EPSS at roughly 0.02%.
Earlier versions of this analysis (1)
MCP Gateway allows easy and secure running and deployment of MCP servers. In versions 0.27.0 and earlier, when MCP Gateway runs in sse or streaming transport mode, it is vulnerable to DNS rebinding. A
RemediationAI
Vendor-released patch: upgrade Docker MCP Gateway to 0.28.0, which introduces Origin-header validation on the /sse and /mcp handlers (commit 6b076b2479d8d1345c50c112119c62978d46858e, PR https://github.com/docker/mcp-gateway/pull/190; advisory https://github.com/docker/mcp-gateway/security/advisories/GHSA-46gc-mwh4-cc5r). If upgrading immediately is not possible, run the gateway in its default stdio transport, which does not open a listening port, or avoid sse/streaming mode entirely - this is the vendor-documented workaround, with the trade-off that remote/browser-based MCP clients lose connectivity. If sse or streaming mode is required, bind the listener to loopback only, avoid publishing the port beyond the host, and place an authenticating reverse proxy in front that rejects requests carrying a non-localhost Origin header and requires a bearer token; this compensates for the missing Origin check but can break browser-based clients and must be tested against each MCP server's expected headers. Note that the gateway also supports a container mode in which the authentication middleware accepts requests without a token, so network exposure of the listener should be treated as full trust of any client that can reach it.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Model Context Protocol (MCP) defines several transports: stdio for local process pipes, and HTTP-based Server-Sent Events (SSE) and streamable HTTP modes that bind a network listener. Docker MCP Gateway proxies MCP servers and, in sse/streaming mode, exposes /sse and /mcp endpoints on a port. Browsers enforce a same-origin policy, but DNS rebinding bypasses it: an attacker-controlled hostname initially resolves to the attacker's server, then re-resolves to 127.0.0.1 so the browser sends requests to the victim's local gateway while treating them as same-origin. Because the pre-0.28.0 handlers performed no Origin-header validation, callbacks from the attacker's page were accepted, exposing the dangerous functionality proxied by the gateway (CWE-749, Exposed Dangerous Method or Function). The v0.28.0 fix wraps both /sse and /mcp in an originSecurityHandler that parses the Origin header and rejects anything whose hostname is not localhost, 127.0.0.1, or ::1, and that is not http/https - requests with no Origin header (CLI tools, SDKs, same-origin browser requests) are still permitted, which is the standard mitigation trade-off since it leaves non-browser clients unaffected.
Know when Mcp Gateway gets its next vulnerability
- 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
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:H/VA:N/SC:H/SI:H/SA:H
DNS rebinding plus browser-based victim interaction raises AC:H and UI:R; no auth needed (PR:N); gateway compromises separate backend MCP servers so S:C with high integrity, limited confidentiality/availability.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
5DescriptionCVE.org
MCP Gateway allows easy and secure running and deployment of MCP servers. In versions 0.27.0 and earlier, when MCP Gateway runs in sse or streaming transport mode, it is vulnerable to DNS rebinding. An attacker who can get a victim to visit a malicious website or be served a malicious advertisement can perform browser-based exploitation of MCP servers executing behind the gateway, including manipulating tools or other features exposed by those MCP servers. MCP Gateway is not affected when running in the default stdio mode, which does not listen on network ports. Version 0.28.0 fixes this issue.
Executive ViewAI
Docker MCP Gateway 0.27.0 and earlier, when run in non-default SSE or streaming transport mode, presents an unauthenticated DNS-rebinding exposure that could allow an attacker-controlled website to invoke and manipulate MCP tools behind the gateway. The risk is conditional on victim interaction and attacker-controlled DNS infrastructure, the default stdio mode is not affected, and no public exploit identified at time of analysis. Leadership should care because successful exploitation could cause unauthorized tool actions on connected services, but the limited deployment scope makes this a targeted and manageable risk rather than a broad opportunistic threat.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2025-200985
GHSA-46gc-mwh4-cc5r
NVD
CVE.org
EPSS
Exploit-DB