Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/docker/mcp-gateway
  4. ›
  5. CVE-2026-55887

CVE-2026-55887: Docker MCP Gateway: Argument injection via OCI image label YAML

June 18, 2026

A maliciously crafted OCI image label can inject arbitrary arguments into the docker run command line constructed by the MCP Gateway. An attacker who controls an image that the victim references via docker://, or that the victim’s catalog pulls a snapshot from, can mount the host filesystem, run as UID 0, and execute arbitrary code on the host.

References

  • github.com/advisories/GHSA-r2xf-7jw5-pjg6
  • github.com/docker/mcp-gateway/security/advisories/GHSA-r2xf-7jw5-pjg6
  • nvd.nist.gov/vuln/detail/CVE-2026-55887

Code Behaviors & Features

Detect and mitigate CVE-2026-55887 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.21.0 before 0.42.2

Fixed versions

  • 0.42.2

Solution

Upgrade to version 0.42.2 or above.

Impact 8.6 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Source file

go/github.com/docker/mcp-gateway/CVE-2026-55887.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:13 +0000.