Summary
Docker MCP Gateway from version 0.9.3 up to, but not including, 0.43.1 exposes the dynamic management tools mcp-add and mcp-config-set with no authorization gate (CWE-862). Config supplied to these tools is validated only against the catalog server's JSON schema, not against the actual 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.
Per the CVSS 4.0 vector (score 9.0, critical), the attack is network-based and low in complexity, but depends on certain deployment preconditions (AT:P). It requires low privileges and no user interaction. Impact on confidentiality, integrity and availability is high for both the vulnerable system and subsequent systems.
An attacker can mount a sensitive host path, such as the Docker socket, into a spawned container. This yields code execution as root on the host. The vulnerability is not listed in CISA KEV, and the EPSS score is low (0.52%).
Who is affected
Organizations and development teams running Docker MCP Gateway versions 0.9.3 through 0.43.0 to deploy MCP servers.
What to do
- Upgrade MCP Gateway to version 0.43.1 or later, where the issue is fixed.
- Check which MCP Gateway version is running on all hosts and workstations.
- Until you upgrade, restrict access to MCP Gateway to trusted users and clients only.
- Review running MCP containers for unexpected bind mounts, especially the Docker socket or sensitive host directories.
- See advisory GHSA-mqq5-qh4g-2g8g for details.
Affected products and versions
CVSS vector, explained
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
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- Regular user
- User interaction
- Not required
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-862 Missing Authorization
References
- github.com/docker/mcp-gateway/security/advisories/GHSA-mqq5-qh4g-2g8g
- github.com/docker/mcp-gateway/pull/510
- github.com/docker/mcp-gateway/commit/b894e83129be72a4d965fc5e38bced2bba3c568e
- github.com/docker/mcp-gateway/releases/tag/v0.43.1
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.