CVE-2025-15558
HIGH 7.0CVSS 4.0Docker CLI Plugins: Uncontrolled Search Path Element Leads to Local Privilege Escalation on Windows
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 29.1.5 and Windows binaries acting as a CLI-plugin manager using the github.com/docker/cli/cli-plugins/manager https://pkg.go.dev/github.com/docker/cli@v29.1.5+incompatible/cli-plugins/manager package, such as Docker Compose.
This issue does not impact non-Windows binaries, and projects not using the plugin-manager code.
- Published
- 4 Mar 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security@docker.com
- NVD status
- Modified
- Weakness
- CWE-427
- Also known as
- BIT-docker-cli-2025-15558GHSA-p436-gjf2-799pGO-2026-4610
- Sources
- NVDJSONOSV GHSA-p436-gjf2-799pJSONOSV GO-2026-4610JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@docker.com (Secondary) | CVSS 4.0 | HIGH 7.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/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:N/R:U/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | docker | command_line_interfacecpe:2.3:a:docker:command_line_interface:*:*:*:*:*:*:*:* |
<= 29.1.5 | |
| OSV | Go | github.com/docker/cli | >= 19.03.0, < 29.2.0 | 29.2.0 |
| OSV | Go | github.com/docker/cli | < 29.2.0+incompatible | 29.2.0+incompatible |
| OSV | Go | github.com/docker/compose | all versions | |
| OSV | Go | github.com/docker/compose/v2 | >= 2.31.0 | |
| OSV | Go | github.com/docker/compose/v5 | < 5.1.0 | 5.1.0 |
References
- https://docs.docker.com/desktop/release-notes/ · Release Notes, WEB
- https://github.com/docker/cli/pull/6713 · Issue Tracking, Patch, WEB, FIX
- https://www.zerodayinitiative.com/advisories/ZDI-CAN-28304/ · Not Applicable, WEB
- https://access.redhat.com/security/cve/CVE-2025-15558
- https://bugzilla.redhat.com/show_bug.cgi?id=2444574
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15558.json
- https://github.com/docker/cli/security/advisories/GHSA-p436-gjf2-799p · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-15558 · ADVISORY
- https://github.com/docker/compose/pull/12300 · WEB, FIX
- https://github.com/docker/cli/commit/13759330b1f7e7cb0d67047ea42c5482548ba7fa · WEB, FIX
- https://github.com/docker/cli · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 4 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Mar 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 Mar 2026)