ADVISORIES

Vulnerability

CVE-2026-55887

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.

3 advisories report this vulnerability, across 2 ecosystems.

High severity All Go 2openSUSE 1

Advisories

  • GHSA-r2xf-7jw5-pjg6

    Docker MCP Gateway: Argument injection via OCI image label YAML

    High CVE-2026-55887 Go Updated 25 June 2026
  • GO-2026-5604

    Docker MCP Gateway: Argument injection via OCI image label YAML in github.com/docker/mcp-gateway

    CVE-2026-55887 Go Updated 25 June 2026
  • openSUSE-SU-2026:21483-1

    Security update for govulncheck-vulndb

    Known exploited CVE-2016-11063CVE-2016-11066CVE-2016-11067CVE-2016-11068 openSUSE Updated 31 July 2026

References