Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach gateway MCP tool interface
-
DeliveryCall mcp-config-set with crafted volume value
-
ExploitExpand template into docker.sock bind mount
-
ExecutionSpawn container mounting Docker socket
-
ImpactExecute code as root on host
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 three specific conditions, all drawn from the advisory: (1) the gateway must be started with the --dynamic-tools flag, which is OFF by default and exposes the mcp-add and mcp-config-set management tools; (2) the gateway must hold Docker API authority - a mounted /var/run/docker.sock, Docker API socket, or privileged Docker-in-Docker - which is what lets a socket bind mount translate into host root; and (3) the attacker must be able to reach those dynamic tools, which carry no authorization gate (config is validated only against the catalog JSON schema, not its values, and the isSafeFlagValue filter only rejects values beginning with '-'). The strongest limiting factor is that the vulnerable --dynamic-tools mode is non-default and must be deliberately combined with Docker socket access; the advisory's own workarounds (run without --dynamic-tools, do not grant Docker socket/API access when dynamic tools are enabled, keep authentication enabled) confirm these as the gating conditions. The CVSS AT:P metric reflects exactly this non-default-configuration requirement. |
| Impact | This is a genuine high-priority issue, consistent with the act_now decision label, but its real-world risk is strongly gated by configuration rather than being broadly exploitable. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N) and CWE-862 (Missing Authorization) describe an exposed, remotely reachable management tool with low privileges and no authorization gate, and the impact is maximal - full host code execution as root (VC/VI/VA:H plus subsequent-system SC/SI/SA:H reflecting container-to-host escape). The critical counterweight is AT:P (Attack Requirements: Present), which maps to the advisory's explicit preconditions: the non-default --dynamic-tools flag must be enabled AND the gateway must hold Docker API authority (mounted /var/run/docker.sock or privileged Docker-in-Docker). No KEV listing is present in the input, so there is no confirmed active exploitation; no EPSS score was provided, so statistical exploitation probability cannot be weighed; and the references are all fix artifacts (GHSA advisory, PR #510, the fixing commit, the v0.43.1 release) - none is working exploit code. Net: a maximal-impact flaw whose preconditions sharply narrow the exposed population, so prioritize it specifically for deployments that have turned on dynamic tools and granted the gateway Docker socket access. |
| Exploit ScenarioDerived | An attacker with access to the gateway's MCP tool interface calls the unauthenticated mcp-config-set / mcp-add tools and supplies a config value that expands, via the catalog Spec.Volumes template, into a docker -v bind mount of /var/run/docker.sock into a newly spawned container. Because the only filter (isSafeFlagValue) merely rejects values starting with '-', the Docker socket path passes, and the attacker leverages the mounted socket plus the gateway's Docker authority to run a container as root on the host. No public exploit code was identified in the input; the attack is low-complexity once the required --dynamic-tools mode and Docker socket access are in place. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
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 optional dynamic management tools are switched on: the mcp-add and mcp-config-set handlers carry no authorization gate of their own and only validate submitted config against the catalog server's JSON schema rather than its values, so an attacker-supplied value is expanded into a docker -v bind mount with no host-path allowlist and can mount a sensitive host path such as the Docker socket into a spawned container. Because the gateway itself holds Docker API authority, that mount converts into code execution as root on the host. Reaching the vulnerable tools requires the non-default --dynamic-tools flag plus Docker socket/API access (the configuration gate reflected in the AC:H and AT:P metrics), and authentication requirements place an attacker at low privilege per the vector; no public exploit code was identified at time of analysis. Version 0.43.1 patches the flaw.
RemediationAI
Vendor-released patch: upgrade Docker MCP Gateway to 0.43.1 (release https://github.com/docker/mcp-gateway/releases/tag/v0.43.1), which corresponds to fix PR https://github.com/docker/mcp-gateway/pull/510 and commit b894e83129be72a4d965fc5e38bced2bba3c568e; the advisory is at https://github.com/docker/mcp-gateway/security/advisories/GHSA-mqq5-qh4g-2g8g. If upgrading immediately is not possible, the vendor's stated workarounds are to run without --dynamic-tools (the default configuration, which removes the exposed mcp-add and mcp-config-set tools entirely), to avoid granting the gateway Docker socket or Docker API access whenever dynamic tools are enabled (which removes the authority needed to turn a bind mount into host root but breaks container spawning through the gateway), and to keep authentication enabled on the gateway so unreviewed clients cannot reach the tools. After patching, be aware that the fix enforces read-only host bind mounts limited to permitted roots via the dockerBindAllowedPathsEnv setting, so any existing catalog volume template that expects a writable host path bind will now be rejected and must be adjusted or granted an allowed root explicitly; named volumes continue to work as before.
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
The affected component is the Go module go/github.com/docker/mcp-gateway, exposed as cpe:2.3:a:docker:mcp-gateway, which brokers MCP server containers through the local Docker daemon. The root cause class is CWE-862 (Missing Authorization): the dynamic tools mcp-add and mcp-config-set are registered without any access-control check, and configSetHandler validates submitted configuration only against the catalog server's JSON schema - a structural check on types and keys, not on the values those keys take. At run time runClientContainer expands the catalog Spec.Volumes templates using that config and appends each result as a docker -v bind mount; the sole filter, isSafeFlagValue, rejects only values beginning with a hyphen, so a value such as /var/run/docker.sock passes untouched. The same gap exists in runToolContainer, where volumes derive from tool call arguments. The upstream fix in PR 510 (commit b894e83129be72a4d965fc5e38bced2bba3c568e) adds normalizeDockerVolumeBind/validateDockerVolumeBinds and threads errors out of argsAndEnv, rejecting writable host bind mounts and restricting read-only host binds to permitted roots configured via the dockerBindAllowedPathsEnv environment variable while still allowing named volumes. Exploitation is conditional by design: it requires --dynamic-tools (off by default) plus Docker API authority (mounted /var/run/docker.sock, Docker API socket, or privileged Docker-in-Docker).
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:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Non-default --dynamic-tools plus required Docker socket authority make AC:H; low-privilege access to the ungated tools gives PR:L; container-to-host escape to root is a scope change (S:C) with full C/I/A impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
MCP Gateway allows easy and secure running and deployment of MCP servers. From version 0.9.3 to before version 0.43.1, the dynamic management tools mcp-add and mcp-config-set are exposed with no authorization gate, and config supplied to them is validated only against the catalog server's JSON schema - not against the values. At run time the catalog Spec.Volumes templates are expanded with that config and appended as docker -v bind mounts with no host-path allowlist, so an attacker-controlled value can mount a sensitive host path (e.g. the Docker socket) into a spawned container - yielding code execution as root on the host. This issue has been patched in version 0.43.1.
Articles & Coverage 2
Technical POC Analysis
The bug class is CWE-862 Missing Authorization.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-76099 is a critical privilege escalation vulnerability in Docker MCP Gateway (versions 0.9.3 to 0.43.0) that allows an attacker with API access and the non-default dynamic tools flag to execute code as root on the host. This impacts organizations using the gateway in development or production, potentially leading to full host compromise and data breach; leadership should prioritize remediation given the high severity and the fact that a patch exists.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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
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
Tool-name shadowing in Docker MCP Gateway 0.25.0 through 0.43.0 lets an untrusted backend MCP server that is aggregated
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-141499
NVD
CVE.org
EPSS
GitHub
Exploit-DB