{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-55887","id":"CVE-2026-55887","title":"MCP Gateway: Argument injection via OCI image label YAML in Docker MCP Gateway","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 ","descriptionLong":"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.","published":"2026-09-15T15:45:36.420Z","updated":"2026-10-28T02:30:57.647148322Z","reserved":"2026-06-17T16:59:42.760Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":8.7,"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","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":8.7,"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","rating":"high","source":"GitHub_M"},{"version":"4.0","score":8.7,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"high","source":"GitHub"}],"rating":"high","products":["docker mcp-gateway"],"affectedProducts":[{"vendor":"docker","product":"mcp-gateway","defaultStatus":null,"versions":[{"version":">= 0.21.0, < 0.42.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/docker/mcp-gateway","purl":"pkg:golang/github.com/docker/mcp-gateway","ranges":[">=0.21.0 <0.42.2"],"fixed":["0.42.2"],"advisory":"GHSA-r2xf-7jw5-pjg6"}],"cwes":["CWE-88"],"aliases":["GHSA-r2xf-7jw5-pjg6","GO-2026-5604"],"references":[{"url":"https://github.com/docker/mcp-gateway/security/advisories/GHSA-r2xf-7jw5-pjg6","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/docker/mcp-gateway/pull/498","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/docker/mcp-gateway/commit/306d2d94a3b526f43281313321bf784f2d46a7fe","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/docker/mcp-gateway/commit/439b2200d9e26a4ff414aeb043785df45a78422b","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/docker/mcp-gateway/releases/tag/v0.42.2","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55887.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55887","tags":["advisory"]},{"url":"https://github.com/docker/mcp-gateway","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00222,"epssPercentile":0.12967,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-55887","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55887","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-55887","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-r2xf-7jw5-pjg6","ok":true,"note":"GHSA-r2xf-7jw5-pjg6"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-55887","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["docker"],"critical":[],"attention":null}