Body Background
TrendAI™ Zero Day Initiative™ Logo

Docker MCP Plugin OCI Image Label Parsing Argument Injection Remote Code Execution Vulnerability

June 24th, 2026

Vulnerability Details

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Docker MCP Plugin. User interaction is required to exploit this vulnerability in that the target must reference a malicious Docker image via a docker URI scheme.

The specific flaw exists within the handling of the io.docker.server.metadata OCI image label. The issue results from the lack of proper validation of a user-supplied string before using it to prepare an argument for a system call. An attacker can leverage this vulnerability to execute code on the host in the context of root.

Additional Details

Docker has issued an update to correct this vulnerability. More details can be found at:
https://github.com/docker/mcp-gateway/security/advisories/GHSA-r2xf-7jw5-pjg6

Disclosure Timeline

  • 2026-05-20 - Vulnerability reported to vendor
  • 2026-06-24 - Coordinated public release of advisory
  • 2026-06-24 - Advisory Updated

Credit

Jabr Al-Otaibi @ DarkCov

Back to Advisories

Hero Background

Stand at the front line of proactive security

Trend ZDI connects the experts who discover, remediate, and defend.
Add your voice to the work that pushes attackers back.