Vulnerability record · CVE-2019-15752 · published 28 August 2019
CVE-2019-15752: Docker Desktop Community Edition local privilege escalation via writable credential binary
Docker · Docker
Docker Desktop Community Edition before 2.1.0.1 assigns incorrect permissions to the %PROGRAMDATA%\DockerDesktop\version-bin\ directory, letting a low-privilege local user drop a Trojan horse docker-credential-wincred.exe there. When an admin or service user authenticates with Docker, restarts Docker, or runs 'docker login', the planted binary executes with that higher-privileged context. It matters because a standard user on a shared Windows host can escalate to admin-level code execution.
Description
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-credential-wincred.exe file in %PROGRAMDATA%\DockerDesktop\version-bin\ as a low-privilege user, and then waiting for an admin or service user to authenticate with Docker, restart Docker, or run 'docker login' to force the command.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Automated analysis
high priorityConfirmed in CISA KEV with public exploits and a high EPSS score, though exploitation requires local access and user interaction.
What it is
Docker Desktop Community Edition before 2.1.0.1 assigns incorrect permissions to the %PROGRAMDATA%\DockerDesktop\version-bin\ directory, letting a low-privilege local user drop a Trojan horse docker-credential-wincred.exe there. When an admin or service user authenticates with Docker, restarts Docker, or runs 'docker login', the planted binary executes with that higher-privileged context. It matters because a standard user on a shared Windows host can escalate to admin-level code execution.
Impact
An attacker gains code execution in the context of an administrator or service account, effectively full local privilege escalation with high confidentiality, integrity and availability impact. This can lead to credential theft and full control of the affected Windows host.
Attack surface
Reached locally: the attacker needs write access to the Docker Desktop version-bin directory as a low-privilege user, and the victim must trigger execution by logging in, restarting Docker, or running 'docker login'. The CVSS vector shows local access, no privileges required, but user interaction required.
Exploitation
CISA added it to the Known Exploited Vulnerabilities catalog on 2021-11-03, and public exploit write-ups exist (Packet Storm, Medium), so exploitation is confirmed in the wild. EPSS gives a 30-day probability of about 0.32 (98th percentile), indicating elevated likelihood.
What to do
- Upgrade Docker Desktop Community Edition to 2.1.0.1 or later, per vendor instructions.
- Restrict write permissions on %PROGRAMDATA%\DockerDesktop\version-bin\ so only administrators and trusted service accounts can modify it.
- Audit and remove any unexpected docker-credential-wincred.exe or other binaries in that directory.
- Limit interactive admin or service-account Docker logins on hosts where low-privilege users have local access.
- Monitor for unauthorized file creation in Docker Desktop program data paths.
Detection
- Alert on creation or modification of files under %PROGRAMDATA%\DockerDesktop\version-bin\, especially docker-credential-wincred.exe.
- Monitor process creation where docker-credential-wincred.exe runs with a parent or user context inconsistent with its expected signer or path.
- Check file hashes and digital signatures of docker-credential-wincred.exe against the legitimate Docker-signed binary.
- Review Windows security logs for privilege escalation or suspicious child processes spawned from Docker Desktop components.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Exploitation in the wild
CISA added CVE-2019-15752 to the Known Exploited Vulnerabilities catalog on 3 November 2021 as "Docker Desktop Community Edition Privilege Escalation Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 3 May 2022.
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://packetstormsecurity.com/files/157404/Docker-Credential-Wincred.exe-Privilege-Escalation.html | ExploitThird Party AdvisoryVDB Entry |
| https://lists.apache.org/thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2%40%3Cissues.geode.apache. | Mailing List |
| https://medium.com/%40morgan.henry.roman/elevation-of-privilege-in-docker-for-windows-2fd8450b478e | ExploitThird Party Advisory |
| http://packetstormsecurity.com/files/157404/Docker-Credential-Wincred.exe-Privilege-Escalation.html | ExploitThird Party AdvisoryVDB Entry |
| https://lists.apache.org/thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2%40%3Cissues.geode.apache. | Mailing List |
| https://medium.com/%40morgan.henry.roman/elevation-of-privilege-in-docker-for-windows-2fd8450b478e | ExploitThird Party Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-15752 | US Government Resource |
Track CVE-2019-15752 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2019-15752), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.