SCA: security update for github.com/docker/mcp-gateway (GHSA-r2xf-7jw5-pjg6)

high Tenable Cloud Security Plugin ID 498386

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-55887)

Solution

Update the github.com/docker/mcp-gateway library and its related packages to version 0.42.2 or later.

See Also

https://github.com/advisories/GHSA-r2xf-7jw5-pjg6

Plugin Details

Severity: High

ID: 498386

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/3/2026

Updated: 12/3/2026

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 92.56

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2026-55887

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 5.6

Threat Vector: CVSS:4.0/E:U

Vector: 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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/18/2026

Vulnerability Publication Date: 6/18/2026

Reference Information

CVE: CVE-2026-55887

cwe: CWE-88