PT-2026-50746 · Docker · Docker Mcp Plugin
CVE-2026-55887
·
Published
2026-06-18
·
Updated
2026-07-30
CVSS v4.0
8.7
High
| Vector | AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
Name of the Vulnerable Software and Affected Versions
Docker MCP Plugin (affected versions not specified)
Description
A flaw in the OCI image label parsing allows an attacker to inject arbitrary arguments into the
docker run command line. This occurs because the io.docker.server.metadata label is unmarshalled directly into the catalog.Server struct, allowing mass-assignment of runtime-shaping fields such as Volumes, User, Command, ExtraHosts, AllowHosts, DisableNetwork, Env, Remote, SSEEndpoint, OAuth, Secrets, LongLived, and Policy. The gateway then appends these fields as flags (e.g., -v, -u, --add-host) without validation. An attacker controlling an image referenced via docker:// or a catalog snapshot can use this to mount the host filesystem, run as UID 0, and execute arbitrary code on the host, bypassing the container/host trust boundary.Recommendations
Update the software to the version where the OCI image-label parser is restricted to populating only descriptive fields, excluding those that control the container runtime.
Fix
Argument Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Docker Mcp Plugin