CVE-2025-15558: CWE-427 Uncontrolled Search Path Element in Docker Docker CLI
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/[email protected]+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.
AI Analysis
Technical Summary
Docker CLI for Windows versions up to 29.1.5 searches for CLI plugin binaries in a default directory that is not present by default. This allows a low-privileged attacker to create the directory and place malicious executables named as Docker CLI plugins (e.g., docker-compose.exe) that will be executed when the Docker CLI or Docker Desktop is used, potentially resulting in privilege escalation if the CLI is run with elevated privileges. The vulnerability is specific to Windows binaries using the github.com/docker/cli/cli-plugins/manager package and does not affect non-Windows binaries or projects not using this plugin manager code.
Potential Impact
An attacker with low privileges on a Windows system can create a directory and place malicious Docker CLI plugin binaries that will be executed by Docker Desktop or Docker CLI plugin features. This can lead to privilege escalation if the Docker CLI is executed with elevated privileges, compromising system security. The vulnerability is rated high severity with a CVSS 4.0 score of 7.0.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. There is no explicit patch or fix link provided in the input data. Users should monitor the official Docker and Red Hat advisories for updates. Until a fix is available, avoid running Docker CLI with elevated privileges unnecessarily and restrict the creation of the directory C:\ProgramData\Docker\cli-plugins to trusted users only.
CVE-2025-15558: CWE-427 Uncontrolled Search Path Element in Docker Docker CLI
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/[email protected]+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.
CVSS v4.0
Score 7.0high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Docker CLI for Windows versions up to 29.1.5 searches for CLI plugin binaries in a default directory that is not present by default. This allows a low-privileged attacker to create the directory and place malicious executables named as Docker CLI plugins (e.g., docker-compose.exe) that will be executed when the Docker CLI or Docker Desktop is used, potentially resulting in privilege escalation if the CLI is run with elevated privileges. The vulnerability is specific to Windows binaries using the github.com/docker/cli/cli-plugins/manager package and does not affect non-Windows binaries or projects not using this plugin manager code.
Potential Impact
An attacker with low privileges on a Windows system can create a directory and place malicious Docker CLI plugin binaries that will be executed by Docker Desktop or Docker CLI plugin features. This can lead to privilege escalation if the Docker CLI is executed with elevated privileges, compromising system security. The vulnerability is rated high severity with a CVSS 4.0 score of 7.0.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. There is no explicit patch or fix link provided in the input data. Users should monitor the official Docker and Red Hat advisories for updates. Until a fix is available, avoid running Docker CLI with elevated privileges unnecessarily and restrict the creation of the directory C:\ProgramData\Docker\cli-plugins to trusted users only.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Docker
- Date Reserved
- 2026-02-03T19:51:18.184Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2025-15558","vendor":"Red Hat"}]
Threat ID: 69a85ed0d1a09e29cb4aedd6
Added to database: 03/04/2026, 16:33:20 UTC
Last enriched: 07/15/2026, 08:17:36 UTC
Last updated: 07/31/2026, 19:22:53 UTC
Views: 143
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.