Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl an aggregated backend MCP server
-
DeliveryAdvertise tool name matching a trusted server
-
ExploitWin last-writer-wins flat-namespace registration
-
ExecutionVictim's tool calls routed to attacker
-
ImpactCapture leaked credentials and arguments
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the gateway to aggregate an untrusted (attacker-controlled) backend MCP server alongside a trusted server, AND that no per-server tool-name prefix is configured and the gateway-level tool-name-prefix feature is disabled (it is off by default). The attacker must control a backend server whose tools/list response advertises a tool name identical to the trusted server's, so that it wins the last-writer-wins registration. Limiting factors: the operator must have chosen to aggregate an untrusted server (PR:L / local context, not remote-unauthenticated); enabling any per-server prefix or the prefix feature fully blocks the collision; and impact is confined to confidentiality (leaked arguments/secrets), with no integrity or availability effect. |
| Impact | This is a moderate, conditional-access vulnerability rather than a mass-exploitation priority. The authoritative signal is the CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N, base 5.7): the attack is local-context with a present attack requirement (AT:P), needs low privileges (PR:L - the attacker must control a backend server that the gateway aggregates), no user interaction, and yields high confidentiality impact only (credential/argument leakage) with no integrity or availability impact. There is no KEV listing and no EPSS score supplied, and no public exploit or PoC reference is present - only fix PRs, commits, and the GHSA advisory, which are patch artifacts, not exploit code. The vuln.today decision label is 'this_month', consistent with a real-but-not-emergency issue. The dominant limiting factor is the precondition itself: exploitation requires an operator to aggregate an untrusted MCP server alongside a trusted one with no per-server tool-name prefix (the prefix feature is off by default). CWE-862 (Missing Authorization) and the input 'Authentication Bypass' tag overstate the mechanism slightly - this is a missing namespace/collision check (tool-name shadowing), not a credential or authentication check bypass; treat the confidentiality impact as the concrete risk, not auth bypass. |
| Exploit ScenarioDerived | An operator runs Docker MCP Gateway (0.25.0-0.43.0) aggregating a trusted MCP server and an untrusted/attacker-controlled one without per-server prefixes. The untrusted server advertises a tool whose name matches a trusted tool; because registration is flat and last-writer-wins with no collision check, the untrusted server shadows it, so subsequent calls - and any credentials or arguments passed to that tool - are silently dispatched to the attacker's server. No public exploit identified at time of analysis; the behavior is documented by the vendor GHSA advisory and fix PRs. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Tool-name shadowing in Docker MCP Gateway 0.25.0 through 0.43.0 lets an untrusted backend MCP server that is aggregated alongside a trusted one capture calls meant for the trusted server's identically named tool, silently delivering the call arguments - which may contain credentials - to the attacker-controlled backend. The gateway registers every backend server's tools into a single flat namespace keyed by raw tool name with no per-server scoping or collision check, so registration is last-writer-wins and the shadowing server receives the traffic with no error or warning. Exploitation is conditional rather than remote-unauthenticated: the operator must aggregate an untrusted server, no per-server tool-name prefix may be configured, and the gateway-level tool-name-prefix feature is off by default; the assessed impact is confidentiality-only (C:H/I:N/A:N). No public exploit code or confirmed active exploitation has been identified at time of analysis.
RemediationAI
Upgrade Docker MCP Gateway to 0.43.1, the version in which this issue is patched (release tag v0.43.1; fix PRs https://github.com/docker/mcp-gateway/pull/513 and https://github.com/docker/mcp-gateway/pull/517, commits 288dfe92725c9c79fbe1e0e1044cd6ab12ffdffc and 4833d8c3024e5698efedd97385a1841b150cf780); the patched code rejects colliding tool names at registration and when adding servers or code-mode tools instead of silently overwriting. For deployments that cannot upgrade immediately, the vendor documents two mitigations: set a per-server tool-name prefix for every aggregated server, or enable the gateway-level tool-name-prefix feature - both of which remove the flat-namespace collision entirely - and only aggregate trusted backend servers. The trade-off of prefixing is that tool names exposed to clients change and existing client prompts or scripts referencing the unprefixed names must be updated; restricting aggregation to trusted servers limits functionality but eliminates the untrusted-server precondition. Enabling the prefix feature is not a complete substitute for patching, since the underlying registry remains collision-tolerant until 0.43.1 is installed. Vendor advisory: https://github.com/docker/mcp-gateway/security/advisories/GHSA-m5m2-mrxf-7j7q.
Affected VersionsENISA
Affected Packages
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
Docker MCP Gateway aggregates multiple Model Context Protocol (MCP) backend servers behind one endpoint, merging each backend's tools/list response into a shared capability set. In the affected Go code, the aggregation loop in pkg/gateway/reload.go builds tool names from each backend response and inserts them into a single flat map, toolRegistrations, keyed by the raw tool name, with no check that a name is already claimed by a different server. The name prefix applied to a backend's tools is empty unless an operator sets a per-server prefix or turns on the gateway-level tool-name-prefix feature, which is disabled by default - so identically named tools from two servers collide and the later registration overwrites the earlier one while the request handler still routes to whichever server won. The advisory classifies this as CWE-862 (Missing Authorization): there is no ownership or scoping check gating which server may register a given tool name, so an untrusted server can assume the identity of a trusted tool. The fix PRs (#513, #517) add collision validation (validateExternalToolNameCollisions and per-registration ServerName tracking), make code-mode tool creation and server-add operations fail with an explicit collision error instead of overwriting, and add policy-based capability filtering that fails closed on evaluation errors. Note the supplied CVSS 4.0 vector (5.7, AV:L/AC:L/AT:P/PR:L) versus the assessed CVSS 3.1 vector (AV:L/AC:H/PR:L/UI:N, C:H/I:N/A:N); both agree the attack requires local/operator-level positioning and a specific precondition rather than a remote unauthenticated path.
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:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Attacker must control an aggregated backend server (PR:L) and succeed only in the specific untrusted-aggregation-without-prefix configuration (AC:H, AV:L); impact is credential leakage so C:H, I:N, A:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
MCP Gateway allows easy and secure running and deployment of MCP servers. From version 0.25.0 to before version 0.43.1, when aggregating multiple backend servers, tool names share a flat namespace with no per-server scoping or collision check, so one server can shadow another's tool name (last-writer-wins. This issue has been patched in version 0.43.1.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Mcp Gateway
View allDocker MCP Gateway versions 0.25.0 through 0.43.0 fail to install bearer-token authentication when running in container
Host-level root code execution is reachable in Docker MCP Gateway (from 0.9.3 up to, but not including, 0.43.1) when the
Docker MCP Gateway 0.4.1 through 0.43.0 pulls and executes MCP server container images without verifying their signature
DNS rebinding in Docker MCP Gateway 0.27.0 and earlier lets a malicious website reach MCP servers running behind the gat
Docker MCP Gateway versions 0.35.0 through 0.43.0 read a server reference beginning with file:// from an arbitrary absol
Server-side request forgery in Docker MCP Gateway (0.13.0 up to but not including 0.43.1) lets a server definition loade
EUVD-2026-141498
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB