CVE-2025-15558
ADVISORY - githubSummary
This issue affects Docker CLI through 29.1.5
Impact
Docker CLI for Windows searches for plugin binaries in C:\ProgramData\Docker\cli-plugins, a directory that does not exist by default. A low-privileged attacker can create this directory and place malicious CLI plugin binaries (docker-compose.exe, docker-buildx.exe, etc.) that are executed when a victim user opens Docker Desktop or invokes Docker CLI plugin features, and allow privilege-escalation if the docker CLI is executed as a privileged user.
This issue affects Docker CLI through v29.1.5 (fixed in v29.2.0). It impacts Windows binaries acting as a CLI plugin manager via the github.com/docker/cli/cli-plugins/manager package, which is consumed by downstream projects such as Docker Compose.
Docker Compose became affected starting in v2.31.0, when it incorporated the relevant CLI plugin manager code (see https://github.com/docker/compose/pull/12300), and is fixed in v5.1.0.
This issue does not impact non-Windows binaries or projects that do not use the plugin manager code.
Patches
Fixed version starts with 29.2.0
This issue was fixed in https://github.com/docker/cli/commit/13759330b1f7e7cb0d67047ea42c5482548ba7fa (https://github.com/docker/cli/pull/6713), which removed %PROGRAMDATA%\Docker\cli-plugins from the list of paths used for plugin-discovery on Windows.
Workarounds
None
Resources
- Pull request: "cli-plugins/manager: remove legacy system-wide cli-plugin path" (https://github.com/docker/cli/pull/6713)
- Patch: https://github.com/docker/cli/commit/13759330b1f7e7cb0d67047ea42c5482548ba7fa.patch
Credits
Nitesh Surana (niteshsurana.com) of Trend Research of TrendAI
Common Weakness Enumeration (CWE)
Uncontrolled Search Path Element
Uncontrolled Search Path Element
Uncontrolled Search Path Element
NIST
2.1
CVSS SCORE
7highGitHub
-
CVSS SCORE
7highGoLang
-
Bitnami
BIT-docker-cli-2025-15558
-
CVSS SCORE
7highRed Hat
1.3
CVSS SCORE
7.3highChainguard
CGA-6mmj-5xc7-26c2
-
minimos
MINI-254m-p347-3h24
-
minimos
MINI-25gh-fh9r-fr22
-
minimos
MINI-297r-6v2w-qxcx
-
minimos
MINI-3g6r-8jg7-5qwp
-
minimos
MINI-462j-vc87-vf8c
-
minimos
MINI-4c32-p37v-528w
-
minimos
MINI-4g59-rxg6-2chr
-
minimos
MINI-4p73-mvc7-p6r5
-
minimos
MINI-4v93-6pc3-29cj
-
minimos
MINI-4x5g-7ch3-w33g
-
minimos
MINI-55qr-6gqp-7r8c
-
minimos
MINI-5cm4-4648-chhx
-
minimos
MINI-5w8r-cvxq-qxrx
-
minimos
MINI-64rp-x27w-x77x
-
minimos
MINI-6795-rv5g-8mgw
-
minimos
MINI-6hf5-j6wf-xrww
-
minimos
MINI-6xf7-688g-2pw3
-
minimos
MINI-7q66-7mgr-fr62
-
minimos
MINI-7rwq-hwc7-c7v2
-
minimos
MINI-8698-5x6p-6hmj
-
minimos
MINI-8p9c-8vjq-7ghx
-
minimos
MINI-9gw3-3jfc-gm2r
-
minimos
MINI-9vp4-7hw6-xfhg
-
minimos
MINI-c3vr-qgxj-67h2
-
minimos
MINI-f5jm-vvx3-r6p2
-
minimos
MINI-f6g5-ffpq-v8h8
-
minimos
MINI-f6qv-76hx-56px
-
minimos
MINI-g5mh-7gxf-96gh
-
minimos
MINI-gmc5-xx4g-94mc
-
minimos
MINI-h3pg-336f-6h9p
-
minimos
MINI-hcq5-86qg-p4h7
-
minimos
MINI-jf5c-m2qx-vj45
-
minimos
MINI-jrp2-gjm5-9mhq
-
minimos
MINI-m2vq-3rpx-fg24
-
minimos
MINI-mj8c-5fq6-qmqx
-
minimos
MINI-q4j6-g76r-2p7v
-
minimos
MINI-qf64-5wh7-c384
-
minimos
MINI-qhf8-cc5g-58p4
-
minimos
MINI-qwg7-8gvq-hcv6
-
minimos
MINI-rxf7-f492-w8cj
-
minimos
MINI-v427-f3c3-28rr
-
minimos
MINI-v9x4-pw46-hxqm
-
minimos
MINI-vvm5-jvjm-rpf2
-
minimos
MINI-vxpq-qg72-8hv3
-
minimos
MINI-w285-fc63-44gj
-
minimos
MINI-wwvp-64qc-698v
-
minimos
MINI-wwxm-4cvm-33j8
-
minimos
MINI-x979-jhrr-f5g5
-