{"answers":{"affected":"3 open source packages ship an affected version, including github.com/docker/mcp-gateway.","exploited":"There is no known exploitation of CVE-2026-55887 in the wild and no public exploit code.","fix":"Upgrade github.com/docker/mcp-gateway to 0.42.2 or later.","what":"CVE-2026-55887 is a high-severity command injection vulnerability in docker mcp-gateway, published on 15 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-55887 and fix it if it is affected.\n\nWhat it is: CVE-2026-55887 is a high-severity command injection vulnerability in docker mcp-gateway, published on 15 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-55887 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/docker/mcp-gateway (Go): affected from 0.21.0; fixed in 0.42.2\n- github.com/docker/mcp-gateway (Go): affected from 0.21.0; fixed in 0.42.2\n- github.com/docker/mcp-gateway (Go): affected from 0.21.0; fixed in 0.42.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-55887/ (Markdown: https://insights.sbomify.com/CVE-2026-55887/index.md)","id":"CVE-2026-55887","markdown":"https://insights.sbomify.com/CVE-2026-55887/index.md","name":"CVE-2026-55887","record":{"aliases":["GHSA-r2xf-7jw5-pjg6","GO-2026-5604"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Docker MCP Gateway","requires_auth":"none","summary":"A malicious OCI image label can inject Docker run arguments, allowing arbitrary code execution on the host when the image is pulled or selected.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"MCP Gateway: Argument injection via OCI image label YAML in Docker MCP Gateway","id":"CVE-2026-55887","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":3,"n_references":5,"next":{"headline":"XDG Desktop Portal: Arbitrary file access via SaveFiles \"files\" option path traversal","id":"CVE-2026-55888"},"packages":[{"ecosystem":"Go","fixed":["0.42.2"],"introduced":["0.21.0"],"last_affected":[],"package":"github.com/docker/mcp-gateway","purl":null,"source":"GHSA-r2xf-7jw5-pjg6"},{"ecosystem":"Go","fixed":["0.42.2"],"introduced":["0.21.0"],"last_affected":[],"package":"github.com/docker/mcp-gateway","purl":"pkg:golang/github.com/docker/mcp-gateway","source":"GHSA-r2xf-7jw5-pjg6"},{"ecosystem":"Go","fixed":["0.42.2"],"introduced":["0.21.0"],"last_affected":[],"package":"github.com/docker/mcp-gateway","purl":"pkg:golang/github.com/docker/mcp-gateway","source":"GO-2026-5604"}],"prev":{"headline":"Jodit Editor: Prototype Pollution in Jodit via Jodit.modules.Helpers.set()","id":"CVE-2026-55886"},"products":["mcp-gateway"],"published":"2026-09-15","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-15","vendors":["docker"]},"summary":"A malicious OCI image label can inject Docker run arguments, allowing arbitrary code execution on the host when the image is pulled or selected.","url":"https://insights.sbomify.com/CVE-2026-55887/"}