Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-55887

HIGH 8.7EPSS 8%

MCP Gateway: Argument injection via OCI image label YAML in Docker MCP Gateway

Also known as GHSA-r2xf-7jw5-pjg6, GO-2026-5604

Mitigation

  • Upgrade github.com/docker/mcp-gateway to 0.42.2 or later.

Who should check

  • Projects that depend on Go package github.com/docker/mcp-gateway (>= 0.21.0, < 0.42.2)
  • Anyone running docker mcp-gateway >= 0.21.0, < 0.42.2

Vulnerability facts

Affected
github.com/docker/mcp-gateway >= 0.21.0, < 0.42.2
Fixed in
0.42.2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
8.7 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: Active
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
  • Confidentiality impact on other systems: High
  • Integrity impact on other systems: High
  • Availability impact on other systems: High
EPSS
0.22% chance of exploitation in 30 days (percentile 8, 2026-11-26)
CWE
CWE-88
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/docker/mcp-gateway>= 0.21.0, < 0.42.20.42.2osv
docker mcp-gateway>= 0.21.0, < 0.42.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-55887. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-55887.md
Affected: github.com/docker/mcp-gateway >= 0.21.0, < 0.42.2
Fixed in: 0.42.2

Steps:
1. Search this machine and project for github.com/docker/mcp-gateway (Go), docker mcp-gateway: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-55887 being exploited?

There is no confirmed exploitation: CVE-2026-55887 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-55887?

High: CVSS 8.7 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-55887?

github.com/docker/mcp-gateway >= 0.21.0, < 0.42.2.

Is there a fix for CVE-2026-55887?

Yes. Fixed in 0.42.2. Upgrade github.com/docker/mcp-gateway to 0.42.2 or later.

How do I check if I'm affected by CVE-2026-55887?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors