CVE-2026-55887

Source
https://cve.org/CVERecord?id=CVE-2026-55887
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55887.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-55887
Aliases
Downstream
Related
Published
2026-09-15T15:45:36Z
Modified
2026-09-17T03:47:26Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
MCP Gateway: Argument injection via OCI image label YAML in Docker MCP Gateway
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-88"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55887.json"
}
References

Affected packages

Git / github.com/docker/mcp-gateway

Affected ranges

Type
GIT
Repo
https://github.com/docker/mcp-gateway
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0.21.0"
        },
        {
            "fixed": "0.42.2"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

v0.*
v0.21.0
v0.22.0
v0.23.0
v0.24.0
v0.25.0
v0.26.0
v0.27.0
v0.28.0
v0.29.0
v0.30.0
v0.31.0
v0.32.0
v0.33.0
v0.34.0
v0.35.0
v0.36.0
v0.37.0
v0.38.0
v0.39.0
v0.39.2
v0.39.3
v0.40.0
v0.40.1
v0.40.2
v0.40.4
v0.41.0
v0.42.0
v0.42.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55887.json"