CVE-2026-55887

published 15 Sep 2026 · updated 15 Sep 2026

MCP Gateway: Argument injection via OCI image label YAML in Docker MCP Gateway

8.7HighCVSS 8.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Dockermcp-gateway>=0.21.0 <0.42.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Docker, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-55887 severity on Zeptric[![CVE-2026-55887](https://zeptric.io/badge/cve/CVE-2026-55887.svg)](https://zeptric.io/cve/CVE-2026-55887)