ZDI-26-363: Docker MCP Plugin OCI Image Label Parsing Argument Injection Remote Code Execution Vulnerability
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.
AI Analysis
Technical Summary
The Docker MCP Plugin contains a vulnerability in the parsing of the OCI image label io.docker.server.metadata. This flaw arises from insufficient validation of user-supplied input used to construct arguments for system calls, enabling argument injection. An attacker can exploit this by tricking a user into referencing a malicious Docker image URI, leading to remote code execution as root on the host system. The vulnerability has been assigned CVE-2026-55887 with a CVSS score of 8.6. Docker has released a security update to fix this issue.
Potential Impact
Remote attackers can execute arbitrary code on affected Docker MCP Plugin installations with root privileges. This can lead to full system compromise, including confidentiality, integrity, and availability impacts. Exploitation requires user interaction to reference a malicious Docker image URI.
Mitigation Recommendations
Docker has issued an official security update to remediate this vulnerability. Users should apply the update provided by Docker as detailed in the advisory at https://github.com/docker/mcp-gateway/security/advisories/GHSA-r2xf-7jw5-pjg6. Applying this update mitigates the risk of exploitation.
ZDI-26-363: Docker MCP Plugin OCI Image Label Parsing Argument Injection Remote Code Execution Vulnerability
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Docker MCP Plugin contains a vulnerability in the parsing of the OCI image label io.docker.server.metadata. This flaw arises from insufficient validation of user-supplied input used to construct arguments for system calls, enabling argument injection. An attacker can exploit this by tricking a user into referencing a malicious Docker image URI, leading to remote code execution as root on the host system. The vulnerability has been assigned CVE-2026-55887 with a CVSS score of 8.6. Docker has released a security update to fix this issue.
Potential Impact
Remote attackers can execute arbitrary code on affected Docker MCP Plugin installations with root privileges. This can lead to full system compromise, including confidentiality, integrity, and availability impacts. Exploitation requires user interaction to reference a malicious Docker image URI.
Mitigation Recommendations
Docker has issued an official security update to remediate this vulnerability. Users should apply the update provided by Docker as detailed in the advisory at https://github.com/docker/mcp-gateway/security/advisories/GHSA-r2xf-7jw5-pjg6. Applying this update mitigates the risk of exploitation.
Technical Details
- Article Source
- {"url":"http://www.zerodayinitiative.com/advisories/ZDI-26-363/","fetched":true,"fetchedAt":"2026-06-24T22:25:15.334Z","wordCount":221}
- Classification
- {"confidence":0.95,"severitySource":"heuristic","classifier":"rss-v2"}
Threat ID: 6a3c59a34853345fc1ee9690
Added to database: 06/24/2026, 22:26:43 UTC
Last enriched: 07/23/2026, 23:13:51 UTC
Last updated: 09/23/2026, 18:18:28 UTC
Views: 214
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.