Skip to main content

Docker MCP Gateway CVE-2026-76099

| EUVDEUVD-2026-141499 CRITICAL
Missing Authorization (CWE-862)
2026-12-02 GitHub_M
9.0
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Reach gateway MCP tool interface
  2. Delivery
    Call mcp-config-set with crafted volume value
  3. Exploit
    Expand template into docker.sock bind mount
  4. Execution
    Spawn container mounting Docker socket
  5. Impact
    Execute 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

mcp-gateway 0.9.3, < 0.43.1

Affected Packages

euvd mcp_gateway fix: 0.43.1

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

Vendor (GitHub_M) PRIMARY 9.0 CRITICAL
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
vuln.today AI 8.5 HIGH

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.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Dec 02, 2026 - 17:03 EUVD
CVE Published
Dec 02, 2026 - 15:44 cve.org
CRITICAL 9.0

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

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 54% exploitable
Prevalence
Low
emerging Docker MCP gateway tool, limited production footprint, vulnerable mode off by default
Data Quality
5 sources
Confidence: Medium

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
High

Priority Score

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

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.

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