CVE-2025-15558
Docker Desktop Docker Plugins Uncontrolled Search Path Element Local Privilege Escalation Vulnerability
Also known as BIT-docker-cli-2025-15558, GHSA-p436-gjf2-799p, GO-2026-4610
Mitigation
- Upgrade github.com/docker/cli to one of 29.2.0, 29.2.0+incompatible (or later in the same release line).
- Upgrade github.com/docker/compose/v5 to 5.1.0 or later.
Who should check
- Projects that depend on Go package github.com/docker/cli (>= 19.03.0, < 29.2.0)
- Projects that depend on Go package github.com/docker/compose
- Projects that depend on Go package github.com/docker/compose/v2 (>= 2.31.0)
- Projects that depend on Go package github.com/docker/compose/v5 (< 5.1.0)
- Anyone running Docker CLI all versions
- Anyone running Docker Compose (versions: see the vendor advisory)
Vulnerability facts
- Affected
- github.com/docker/cli >= 19.03.0, < 29.2.0; github.com/docker/compose; github.com/docker/compose/v2 >= 2.31.0; github.com/docker/compose/v5 < 5.1.0
- Fixed in
- 29.2.0, 29.2.0+incompatible, 5.1.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.0 (v4.0, CNA)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/AU:N/R:UOpen in CVSS calculator
Show all 13 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Attack requirements: None
- Privileges required: Low
- User interaction: Passive
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- AU: N
- R: U
- EPSS
- 0.49% chance of exploitation in 30 days (percentile 35, 2026-11-26)
- CWE
- CWE-427
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/docker/cli | >= 19.03.0, < 29.2.0 | 29.2.0, 29.2.0+incompatible | osv |
| Go github.com/docker/compose | — | — | osv |
| Go github.com/docker/compose/v2 | >= 2.31.0 | — | osv |
| Go github.com/docker/compose/v5 | < 5.1.0 | 5.1.0 | osv |
| Docker CLI | all versions | — | cvelist |
| Docker Compose | — | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-15558. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-15558.md Affected: github.com/docker/cli >= 19.03.0, < 29.2.0; github.com/docker/compose; github.com/docker/compose/v2 >= 2.31.0; github.com/docker/compose/v5 < 5.1.0 Fixed in: 29.2.0, 29.2.0+incompatible, 5.1.0 Steps: 1. Search this machine and project for github.com/docker/cli (Go), github.com/docker/compose (Go), github.com/docker/compose/v2 (Go), github.com/docker/compose/v5 (Go), Docker CLI, Docker Compose: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- https://docs.docker.com/desktop/release-notes/
- https://www.zerodayinitiative.com/advisories/ZDI-CAN-28304/
- 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://docs.docker.com/desktop/release-notes
- https://github.com/docker/cli
- https://www.zerodayinitiative.com/advisories/ZDI-CAN-28304
FAQ
Is CVE-2025-15558 being exploited?
There is no confirmed exploitation: CVE-2025-15558 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.49% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-15558?
High: CVSS 7.0 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2025-15558?
github.com/docker/cli >= 19.03.0, < 29.2.0; github.com/docker/compose; github.com/docker/compose/v2 >= 2.31.0; github.com/docker/compose/v5 < 5.1.0.
Is there a fix for CVE-2025-15558?
Yes. Fixed in 29.2.0, 29.2.0+incompatible, 5.1.0. Upgrade github.com/docker/cli to one of 29.2.0, 29.2.0+incompatible (or later in the same release line). Upgrade github.com/docker/compose/v5 to 5.1.0 or later.
How do I check if I'm affected by CVE-2025-15558?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.