CVE-2026-55887 json
MCP Gateway: Argument injection via OCI image label YAML in Docker MCP Gateway
published 4mo ago modified last mo. also EUVD-2026-78684 , GHSA-r2xf-7jw5-pjg6 , GO-2026-5604
- cvss
- 8.7
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 12%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/docker/mcp-gateway 0.42.2
- docker mcp_gateway 0.42.2
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
Is CVE-2026-55887 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- last mo.
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
| CNA | 4.0 | 8.7 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/docker/mcp-gateway | >=0.21.0, <0.42.2 |
0.42.2 |
Affected products
- docker mcp-gateway
Classification
- Weakness
-
- CWE-88 Improper Neutralization of Argument Delimiters in a Command
References
- github.com /docker/mcp-gateway/pull/498
- github.com /docker/mcp-gateway/commit/306d2d94a3b526f43281313321bf784f2d46a7fe
- github.com /docker/mcp-gateway/commit/439b2200d9e26a4ff414aeb043785df45a78422b
-
github.com
/docker/mcp-gateway/security/advisories/GHSA-r2xf-7jw5-pjg6
web, advisory
- github.com /docker/mcp-gateway/releases/tag/v0.42.2
-
github.com
/docker/mcp-gateway
package
Sources
- CVE List CVE-2026-55887
- GitHub Advisory GHSA-r2xf-7jw5-pjg6
- NVD CVE-2026-55887
- OSV GO-2026-5604
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.