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.
Scoring
- Severity
- HIGH
- CVSS base score
- 8.7
- CVSS vector
- CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- EPSS probability
- 0.20%
- CWE
- CWE-88
- Published
- 2026-09-15
- Last modified
- 2026-09-15
Affected products
- docker mcp-gateway
Weakness type
Related vulnerabilities
- CVE-2026-24061 — telnetd in GNU Inetutils through 2.7 allows remote authentication bypass via a "-f root" value for the USER environment
- CVE-2026-86060 — SSH session privilege manipulation via a crafted username in Mikrotik RouterOS
- CVE-2026-27613 — CGI Parameter Injection (Bypass of STRICT_CGI_PARAMS and EscapeShellParam)
- CVE-2024-47516 — Pagure: argument injection in pagurerepo.log()
- CVE-2026-27947 — Group-Office Vulnerable to Remote Code Execution (RCE)
- CVE-2026-25134 — Group-Office Argument Injection in MaintenanceController::actionZipLanguage
- CVE-2025-49008 — Atheos Improper Input Validation Vulnerability Enables RCE in Common.php
- CVE-2026-27208 — api-gateway-deploy Affected by Exploitable Command Injection via Unprivileged Root Execution