HighVulnerability
CVE-2026-55887: MCP Gateway container creation boundary bypass via OCI image metadata label
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-55887
- Published
- Record updated
- Affected
- github.com/docker/mcp-gateway >= 0.21.0, < 0.42.2
- Fixed in
- 0.42.2
Summary
Docker MCP Gateway, from 0.21.0 through 0.42.2, parsed the attacker-controlled io.docker.server.metadata OCI image label into the catalog.Server structure without validation, in pkg/oci/self_contained.go and pkg/workingset/workingset.go. Fields such as Volumes, User and ExtraHosts were then passed to docker run without an origin allowlist, so a malicious image author could request host filesystem or Docker socket mounts and UID 0 execution when a victim selected or pulled the image. The flaw bypasses the container-creation boundary and can execute arbitrary code on the host, and no-new-privileges does not prevent it.
Mitigation
Fixed in version 0.42.2.
Topics
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online