High severity · published Sep 15, 2026
CVE-2026-55887
MCP Gateway: Argument injection via OCI image label YAML in Docker MCP Gateway
8.7
CVSS
0.2%
EPSS
No
On KEV
Description
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 13% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MC
mcp-gateway · docker
>= 0.21.0, < 0.42.2 · source: vendor
In the news
VulnerabilityHigh
ZDI-26-363: Docker MCP Plugin OCI Image Label Parsing Argument Injection Remote Code Execution Vulnerability
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Docker MCP Plugin. User interaction is required to exploit this vulnerability in that the target must reference a malicious Docker image via a docker URI scheme. The ZDI has assigned a CVSS rating of 8.6. The following CVEs are assigned: CVE-2026-55887.
Jun 24, 2026·Zero Day Initiative
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-55887
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-55887
github.com
https://github.com/docker/mcp-gateway/commit/306d2d94a3b526f43281313321bf784f2d46a7fe
github.com
https://github.com/docker/mcp-gateway/commit/439b2200d9e26a4ff414aeb043785df45a78422b
github.com
https://github.com/docker/mcp-gateway/pull/498
github.com
https://github.com/docker/mcp-gateway/releases/tag/v0.42.2
github.com
https://github.com/docker/mcp-gateway/security/advisories/GHSA-r2xf-7jw5-pjg6
More from mcp-gateway
9.6
CVE-2025-64443
MCP Gateway allows easy and secure running and deployment of MCP servers
