{"id":"CVE-2026-55887","published":"2026-09-15T15:45:36Z","modified":"2026-09-15T18:02:09Z","title":"MCP Gateway: Argument injection via OCI image label YAML in Docker MCP Gateway","vendor":"docker","product":"mcp-gateway","tier":"tail","description":{"text":"MCP Gateway allows easy and secure running and deployment of MCP servers. From 0.21.0 until 0.42.2, Docker MCP Gateway YAML-unmarshalled the attacker-controlled io.docker.server.metadata OCI image label into the broad catalog.Server structure for direct docker:// references and catalog snapshot imports in pkg/oci/self_contained.go and pkg/workingset/workingset.go. Runtime-shaping fields including Volumes, User, and ExtraHosts were then appended to the docker run argument vector without an origin allowlist, allowing a malicious image author to request host filesystem or Docker socket mounts and UID 0 execution when a victim selected or pulled the image. This container-creation-time boundary bypass can execute arbitrary code on the host and is not prevented by no-new-privileges because no in-container privilege escalation is required. This issue is fixed in version 0.42.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00222,"percentile":0.07575,"provenance":"source"},"cwes":[{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"}],"references":[{"url":"https://github.com/docker/mcp-gateway/security/advisories/GHSA-r2xf-7jw5-pjg6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/docker/mcp-gateway/pull/498","tags":["x_refsource_MISC"]},{"url":"https://github.com/docker/mcp-gateway/commit/306d2d94a3b526f43281313321bf784f2d46a7fe","tags":["x_refsource_MISC"]},{"url":"https://github.com/docker/mcp-gateway/commit/439b2200d9e26a4ff414aeb043785df45a78422b","tags":["x_refsource_MISC"]},{"url":"https://github.com/docker/mcp-gateway/releases/tag/v0.42.2","tags":["x_refsource_MISC"]}],"priority":{"score":7.6,"factors":[{"name":"EPSS percentile","points":1.51},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"docker","affectedVersions":[{"vendor":"docker","product":"mcp-gateway","versions":[">= 0.21.0, < 0.42.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-15T17:45:43.530044Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/docker/mcp-gateway","vulnerableRanges":[">=0.21.0, <0.42.2"],"patched":["0.42.2"],"from":["GHSA-r2xf-7jw5-pjg6","GO-2026-5604"],"provenance":"source"}],"summary":{"text":"Docker MCP Gateway versions from 0.21.0 through 0.42.2 unmarshal the attacker-controlled io.docker.server.metadata OCI image label into a broad server structure, and its runtime fields (volumes, user, extra hosts) are appended to the docker run argument vector without an origin allowlist. An attacker who publishes a malicious image can, when a victim selects or pulls that image with local access and the victim's interaction, obtain host filesystem or Docker socket mounts and root (UID 0) execution, achieving arbitrary code execution on the host without requiring any privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:52Z"},"euvd":{"id":"EUVD-2026-78684","exploited":false,"provenance":"source"}}