Skip to content
RCE Advisory Advanced CVE-2026-55887

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

The Docker MCP Plugin fails to properly validate the io.docker.server.metadata OCI image label before using it to build a system call argument. An attacker can craft a malicious Docker image that, when referenced via a docker URI scheme, leads to arbitrary code execution on the host as root.

Jabr Al-Otaibi @ DarkCov Follow

Originally disclosed on Zero Day Initiative

High 8.6 View original

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.

Jabr Al-Otaibi @ DarkCov, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the plugin concatenated the untrusted label value into a shell command or argument list without sanitising it, allowing argument injection.

Impact

An attacker could execute arbitrary code on the host with root privileges, but the victim must first reference a malicious Docker image via a docker URI scheme.

What the attacker needed

Victim references a malicious Docker image; via a docker URI scheme

The fix

Docker has issued an update to correct this vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

The plugin read the io.docker.server.metadata image label and used it to build a system call argument without proper validation, so a malicious image referenced via a docker URI could lead to code execution as root.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.