Docker MCP Gateway: Argument injection via OCI image label YAML
CVE-2026-55887 · GHSA-r2xf-7jw5-pjg6 · published 2026-06-18
- Severity
- High
- CVSS score
- 8.7
- Chance of exploitation (EPSS)
- 0.22%
- Fixed in
- 0.42.2
- Exploitation No known exploitation
- Automatable No
- Technical impact Total
- CISA SSVC
A malicious image author can achieve arbitrary code execution as UID 0 on the host of a victim running an affected version of MCP Gateway. Attacker-injected -v /:/host, -u root, and invocation that launches the MCP server container, giving the attacker full host filesystem access and root execution. The container/host trust boundary is bypassed at container-creation time, so the --security-opt no-new-privileges flag the gateway applies provides no protection: no in-container privilege escalation is needed.
Upgrade github.com/docker/mcp-gateway to 0.42.2 or later.
The OCI image-label parser now only populates descriptive fields from the image label, which excludes fields that control the container runtime.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| github.com/docker/mcp-gateway | Go | >= 0.21.0, < 0.42.2 | 0.42.2 |
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- CriticalAgno: Arbitrary code execution via `eval()` on `field_type` in `FunctionCall`agno
- HighDocker MCP Plugin and Docker MCP Gateway have DNS Rebinding vulnerability when running in sse or streaming modegithub.com/docker/mcp-gateway
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.