CVE-2026-55887

High

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.

SeverityHigh
CVSS8.7
Exploit probability—
ProductGithub.com/docker/mcp-gateway
PublishedSep 15, 2026
First seenSep 15, 2026
Weakness typeCWE-88CWE-88

How to fix

Update
  • github.com/docker/mcp-gateway0.42.2 or later

Affected products

ProductAffected versionsFixed in
github.com/docker/mcp-gatewayGo0.21.0 ≤ v < 0.42.20.42.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.