CVE-2025-15558
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:U
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Docker | Docker CLI | 29.2.0 | unaffected |
| Docker | Compose | 5.1.0 | unaffected |
Weaknesses
- CWE-427: CWE-427 Uncontrolled Search Path Element
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
docker/cli: Docker CLI for Windows: Privilege escalation via malicious plugin binaries
Additional References
- 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
References
- https://docs.docker.com/desktop/release-notes/
- https://www.zerodayinitiative.com/advisories/ZDI-CAN-28304/
- https://github.com/docker/cli/pull/6713
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.