7.0high
Docker Desktop Docker Plugins Uncontrolled Search Path Element Local Privilege Escalation Vulnerability
- Severity
- 7.0high CVSS:4.0 by Docker
- Exploit likelihood
- 0.52% (higher than 37% of CVEs)
- Published
- Last changed
- Assigned by
- Docker
- Also known as
- GHSA-p436-gjf2-799pBIT-DOCKER-CLI-2025-15558GO-2026-4610
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
| Product or package | Versions | Reported by |
|---|---|---|
| Docker Docker CLI | Not specified Not affected: 29.2.0 | CVE List |
| Docker Compose | Not specified Not affected: 5.1.0 | CVE List |
| assisted/agent-preinstall-image-builder-rhel9 | Not specified | CVE List |
| openshift-builds/openshift-builds-controller-rhel9 | Not specified | CVE List |
| openshift-builds/openshift-builds-git-cloner-rhel9 | Not specified | CVE List |
| openshift-builds/openshift-builds-image-bundler-rhel9 | Not specified | CVE List |
| openshift-builds/openshift-builds-image-processing-rhel9 | Not specified | CVE List |
| openshift-builds/openshift-builds-waiters-rhel9 | Not specified | CVE List |
| openshift-builds/openshift-builds-webhook-rhel9 | Not specified | CVE List |
| gatekeeper/gatekeeper-rhel9 | Not specified | CVE List |
| kmm/kernel-module-management-hub-operator-bundle | Not specified | CVE List |
| kmm/kernel-module-management-hub-rhel9-operator | Not specified | CVE List |
| kmm/kernel-module-management-must-gather-rhel9 | Not specified | CVE List |
| kmm/kernel-module-management-operator-bundle | Not specified | CVE List |
| kmm/kernel-module-management-rhel9-operator | Not specified | CVE List |
| kmm/kernel-module-management-signing-rhel9 | Not specified | CVE List |
| kmm/kernel-module-management-webhook-server-rhel9 | Not specified | CVE List |
| kmm/kernel-module-management-worker-rhel9 | Not specified | CVE List |
| workload-availability/machine-deletion-remediation-operator-bundle | Not specified | CVE List |
| workload-availability/machine-deletion-remediation-rhel9-operator | Not specified | CVE List |
| multicluster-engine/capoa-bootstrap-rhel9 | Not specified | CVE List |
| multicluster-engine/capoa-control-plane-rhel9 | Not specified | CVE List |
| multicluster-globalhub/multicluster-globalhub-grafana-rhel9 | Not specified | CVE List |
| openshift-pipelines/pipelines-cache-rhel9 | Not specified | CVE List |
| openshift-pipelines/pipelines-chains-controller-rhel8 | Not specified | CVE List |
| openshift-pipelines/pipelines-chains-controller-rhel9 | Not specified | CVE List |
| openshift-pipelines/pipelines-cli-tkn-rhel8 | Not specified | CVE List |
| openshift-pipelines/pipelines-cli-tkn-rhel9 | Not specified | CVE List |
| openshift-pipelines/pipelines-controller-rhel8 | Not specified | CVE List |
| openshift-pipelines/pipelines-controller-rhel9 | Not specified | CVE List |
| openshift-pipelines/pipelines-entrypoint-rhel8 | Not specified | CVE List |
| openshift-pipelines/pipelines-events-rhel8 | Not specified | CVE List |
| openshift-pipelines/pipelines-hub-api-rhel8 | Not specified | CVE List |
| openshift-pipelines/pipelines-hub-db-migration-rhel8 | Not specified | CVE List |
| openshift-pipelines/pipelines-hub-ui-rhel8 | Not specified | CVE List |
| openshift-pipelines/pipelines-manual-approval-gate-controller-rhel8 | Not specified | CVE List |
| openshift-pipelines/pipelines-manual-approval-gate-webhook-rhel8 | Not specified | CVE List |
| openshift-pipelines/pipelines-nop-rhel8 | Not specified | CVE List |
| openshift-pipelines/pipelines-opc-rhel9 | Not specified | CVE List |
| openshift-pipelines/pipelines-operator-bundle | Not specified | CVE List |
| openshift-pipelines/pipelines-operator-proxy-rhel8 | Not specified | CVE List |
| openshift-pipelines/pipelines-operator-webhook-rhel8 | Not specified | CVE List |
| openshift-pipelines/pipelines-resolvers-rhel8 | Not specified | CVE List |
| openshift-pipelines/pipelines-resolvers-rhel9 | Not specified | CVE List |
| openshift-pipelines/pipelines-results-api-rhel8 | Not specified | CVE List |
| openshift-pipelines/pipelines-results-watcher-rhel8 | Not specified | CVE List |
| openshift-pipelines/pipelines-results-watcher-rhel9 | Not specified | CVE List |
| openshift-pipelines/pipelines-rhel8-operator | Not specified | CVE List |
| openshift-pipelines/pipelines-rhel9-operator | Not specified | CVE List |
| openshift-pipelines/pipelines-sidecarlogresults-rhel8 | Not specified | CVE List |
| openshift-pipelines/pipelines-sidecarlogresults-rhel9 | Not specified | CVE List |
| openshift-pipelines/pipelines-webhook-rhel8 | Not specified | CVE List |
| openshift-pipelines/pipelines-workingdirinit-rhel8 | Not specified | CVE List |
| openshift-serverless-1/kn-client-kn-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-plugin-event-sender-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-plugin-func-func-util-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-serving-controller-rhel9 | Not specified | CVE List |
| openshift-service-mesh/istio-cni-rhel8 | Not specified | CVE List |
| openshift-service-mesh/istio-rhel8-operator | Not specified | CVE List |
| openshift-service-mesh/pilot-rhel8 | Not specified | CVE List |
| openshift-service-mesh/proxyv2-rhel9 | Not specified | CVE List |
| openshift-service-mesh/istio-cni-rhel9 | Not specified | CVE List |
| openshift-service-mesh/istio-pilot-rhel9 | Not specified | CVE List |
| openshift-service-mesh/istio-proxyv2-rhel9 | Not specified | CVE List |
| openshift-service-mesh/istio-rhel9-operator | Not specified | CVE List |
| rhacm2/multicloud-integrations-rhel9 | Not specified | CVE List |
| rhacm2/multicluster-operators-channel-rhel9 | Not specified | CVE List |
| rhacm2/multicluster-operators-subscription-rhel9 | Not specified | CVE List |
| rhacm2/submariner-operator-bundle | Not specified | CVE List |
| rhacm2/submariner-rhel9-operator | Not specified | CVE List |
| advanced-cluster-security/rhacs-main-rhel8 | Not specified | CVE List |
| advanced-cluster-security/rhacs-rhel8-operator | Not specified | CVE List |
| advanced-cluster-security/rhacs-roxctl-rhel8 | Not specified | CVE List |
| advanced-cluster-security/rhacs-scanner-v4-rhel8 | Not specified | CVE List |
| rhoai/odh-data-science-pipelines-argo-argoexec-rhel8 | Not specified | CVE List |
| rhoai/odh-data-science-pipelines-argo-argoexec-rhel9 | Not specified | CVE List |
| rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel8 | Not specified | CVE List |
| rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9 | Not specified | CVE List |
| rhoai/odh-model-registry-rhel9 | Not specified | CVE List |
| openshift4/cnf-tests-rhel9 | Not specified | CVE List |
| openshift4/frr-rhel9 | Not specified | CVE List |
| openshift4/metallb-rhel8-operator | Not specified | CVE List |
| openshift4/metallb-rhel9 | Not specified | CVE List |
| openshift4/metallb-rhel9-operator | Not specified | CVE List |
| openshift4/oc-mirror-plugin-rhel8 | Not specified | CVE List |
| openshift4/oc-mirror-plugin-rhel9 | Not specified | CVE List |
| openshift4/ose-agent-installer-api-server-rhel8 | Not specified | CVE List |
| openshift4/ose-agent-installer-api-server-rhel9 | Not specified | CVE List |
| openshift4/ose-agent-installer-csr-approver-rhel8 | Not specified | CVE List |
| openshift4/ose-agent-installer-csr-approver-rhel9 | Not specified | CVE List |
| openshift4/ose-agent-installer-node-agent-rhel8 | Not specified | CVE List |
| openshift4/ose-agent-installer-node-agent-rhel9 | Not specified | CVE List |
| openshift4/ose-agent-installer-orchestrator-rhel8 | Not specified | CVE List |
| openshift4/ose-agent-installer-orchestrator-rhel9 | Not specified | CVE List |
| openshift4/ose-console | Not specified | CVE List |
| openshift4/ose-console-rhel9 | Not specified | CVE List |
| openshift4/ose-helm-operator | Not specified | CVE List |
| openshift4/ose-helm-rhel9-operator | Not specified | CVE List |
| openshift4/ose-olm-catalogd-rhel9 | Not specified | CVE List |
| openshift4/ose-olm-operator-controller-rhel9 | Not specified | CVE List |
| openshift4/ose-operator-framework-tools-rhel9 | Not specified | CVE List |
| openshift4/ose-operator-lifecycle-manager | Not specified | CVE List |
| openshift4/ose-operator-lifecycle-manager-rhel9 | Not specified | CVE List |
| openshift4/ose-operator-registry | Not specified | CVE List |
| openshift4/ose-operator-registry-rhel9 | Not specified | CVE List |
| openshift4/ose-operator-sdk-rhel8 | Not specified | CVE List |
| openshift4/ose-operator-sdk-rhel9 | Not specified | CVE List |
| openshift4/ztp-site-generate-rhel8 | Not specified | CVE List |
| redhat/redhat-operator-index | Not specified | CVE List |
| devspaces/traefik-rhel9 | Not specified | CVE List |
| openshift4-wincw/windows-machine-config-operator-bundle | Not specified | CVE List |
| openshift4-wincw/windows-machine-config-rhel9-operator | Not specified | CVE List |
| openshift-gitops-1/argocd-rhel8 | Not specified | CVE List |
| openshift-gitops-1/argocd-rhel9 | Not specified | CVE List |
| container-native-virtualization/kubevirt-tekton-tasks-create-datavolume-rhel9 | Not specified | CVE List |
| container-native-virtualization/kubevirt-tekton-tasks-disk-virt-customize-rhel9 | Not specified | CVE List |
| rhosp-rhel8/osp-director-agent | Not specified | CVE List |
| rhosp-rhel8/osp-director-downloader | Not specified | CVE List |
| rhosp-rhel8/osp-director-operator | Not specified | CVE List |
| rhosp-rhel8/osp-director-operator-bundle | Not specified | CVE List |
| rhosp-rhel9/osp-director-operator-bundle | Not specified | CVE List |
| rhoso-operators/openstack-operator-bundle | Not specified | CVE List |
| rhoso-operators/openstack-rhel9-operator | Not specified | CVE List |
| rhoso-operators/rabbitmq-cluster-rhel9-operator | Not specified | CVE List |
| quay/clair-rhel8 | Not specified | CVE List |
| quay/clair-rhel9 | Not specified | CVE List |
| rhtas/client-server-rhel9 | Not specified | CVE List |
| rhtas/cosign-rhel9 | Not specified | CVE List |
| rhtas/gitsign-rhel9 | Not specified | CVE List |
| rhtas/policy-controller-operator-bundle | Not specified | CVE List |
| rhtas/policy-controller-rhel9 | Not specified | CVE List |
| rhtas/policy-controller-rhel9-operator | Not specified | CVE List |
| rhtas/rhtas-console-rhel9 | Not specified | CVE List |
| rhtas/rhtas-operator-bundle | Not specified | CVE List |
| rhtas/rhtas-rhel9-operator | Not specified | CVE List |
| compliance/openshift-security-profiles-operator-bundle | Not specified | CVE List |
| compliance/openshift-security-profiles-rhel8-operator | Not specified | CVE List |
| zero-trust-workload-identity-manager/spiffe-spire-agent-rhel9 | Not specified | CVE List |
| zero-trust-workload-identity-manager/spiffe-spire-oidc-discovery-provider-rhel9 | Not specified | CVE List |
| zero-trust-workload-identity-manager/spiffe-spire-server-rhel9 | Not specified | CVE List |
| zero-trust-workload-identity-manager/zero-trust-workload-identity-manager-operator-bundle | Not specified | CVE List |
| zero-trust-workload-identity-manager/zero-trust-workload-identity-manager-rhel9 | Not specified | CVE List |
| github.com/docker/cli (Go) | from 19.03.0 before 29.2.0, before 29.2.0+incompatible | GitHub Advisory Database, Go Vulnerability Database |
| github.com/docker/compose (Go) | all versions | Go Vulnerability Database |
| github.com/docker/compose/v2 (Go) | from 2.31.0 | Go Vulnerability Database |
| github.com/docker/compose/v5 (Go) | before 5.1.0 | Go Vulnerability Database |
| docker command_line_interface | up to 29.1.5 | NVD |
| docker-cli (Bitnami) | before 29.2.1 | Bitnami Vulnerability Database |
All scores
| Docker | 7.0high 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/AU:N/R:U |
| redhat-SADP | 7.3high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| GitHub | high 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 | 8.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
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
Go Vulnerability Database
Docker CLI Plugins: Uncontrolled Search Path Element Leads to Local Privilege Escalation on Windows in github.com/docker/cli
NVD (es)
Docker CLI para Windows busca binarios de plugin en C:\ProgramData\Docker\cli-plugins, un directorio que no existe por defecto. Un atacante de bajo privilegio puede crear este directorio y colocar binarios de plugin CLI maliciosos (docker-compose.exe, docker-buildx.exe, etc.) que se ejecutan cuando un usuario víctima abre Docker Desktop o invoca funciones de plugin de Docker CLI, y permiten la escalada de privilegios si el Docker CLI se ejecuta como un usuario privilegiado. Este problema afecta a Docker CLI: hasta la versión 29.1.5 y a los binarios de Windows que actúan como un gestor de plugin CLI utilizando el paquete github.com/docker/cli/cli-plugins/manager https://pkg.go.dev/github.com/docker/cli@v29.1.5+incompatible/cli-plugins/manager, como Docker Compose. Este problema no tiene impacto en los binarios que no son de Windows, ni en los proyectos que no utilizan el código del gestor de plugins.
References
| https://docs.docker.com/desktop/release-notes/ | article, release-notes | |
| https://www.zerodayinitiative.com/advisories/ZDI-CAN-28304/ | not-applicable, third-party-advisory, web | |
| https://github.com/docker/cli/pull/6713 | fix, issue-tracking, patch, web | |
| https://access.redhat.com/security/cve/CVE-2025-15558 | vdb-entry, web | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2444574 | issue-tracking, web | |
| https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15558.json | web | |
| https://github.com/docker/cli/security/advisories/GHSA-p436-gjf2-799p | advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-15558 | advisory, web | |
| https://github.com/docker/compose/pull/12300 | fix, web | |
| https://github.com/docker/cli/commit/13759330b1f7e7cb0d67047ea42c5482548ba7fa | fix, web | |
| https://docs.docker.com/desktop/release-notes | web | |
| https://github.com/docker/cli | package | |
| https://www.zerodayinitiative.com/advisories/ZDI-CAN-28304 | web | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-15558 changed 2026-07-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-p436-gjf2-799p changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-4610 changed 2026-03-23 | CC-BY-4.0 |
| NVD | CVE-2025-15558 changed 2026-07-15 | Public domain |
| Bitnami Vulnerability Database | BIT-DOCKER-CLI-2025-15558 changed 2026-09-08 | Apache-2.0 |