MCP Gateway: Argument injection via OCI image label YAML in Docker MCP Gateway
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| docker | mcp-gateway | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Docker | Mcp Gateway |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-r2xf-7jw5-pjg6 | Docker MCP Gateway: Argument injection via OCI image label YAML |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.222% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Docker
Docker mcp Gateway |
|
| Vendors & Products |
Docker
Docker mcp Gateway |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | MCP Gateway: Argument injection via OCI image label YAML in Docker MCP Gateway | |
| Weaknesses | CWE-88 | |
| References |
|
|
| Metrics |
cvssV4_0
|