Skip to main content

Docker MCP Gateway EUVDEUVD-2025-200985

| CVE-2025-64443 HIGH
Exposed Dangerous Method or Function (CWE-749)
2025-12-03 security-advisories@github.com GHSA-46gc-mwh4-cc5r
7.3
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Lure victim to malicious website
  2. Delivery
    Rebind DNS to localhost gateway
  3. Exploit
    Browser reaches /sse or /mcp endpoint
  4. Execution
    Invoke tools on backend MCP servers
  5. Impact
    Manipulate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – 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)
v1 Mar 15, 2026 - 16:14 CVSS 9.6

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

mcp-gateway < 0.28.0

Affected Packages

go github.com/docker/mcp-gateway fix: 0.28.0
euvd mcp_gateway fix: 0.28.0

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

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

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.

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

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

Lifecycle Timeline

5
Analysis Updated
Oct 18, 2026 - 17:28 vuln.today
v2 - CVSS changed
Severity Changed
Oct 18, 2026 - 17:22 NVD
CRITICAL HIGH
CVSS changed
Oct 18, 2026 - 17:22 NVD
9.6 (CRITICAL) 7.3 (HIGH)
Patch released
Mar 15, 2026 - 16:14 nvd
Patch available
CVE Published
Dec 03, 2025 - 18:15 nvd
CRITICAL 9.6

DescriptionCVE.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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Prevalence
Low
emerging, specialized Docker MCP tooling; limited production footprint, exposure further gated by non-default transport
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.0%
Patch available Yes
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: High

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