Elevation of Privilege in Docker Desktop for Windows during Upgrade due to Insecure Directory Deletion
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Desktop 4.41.0.
A vulnerability in the update process of Docker Desktop for Windows versions prior to 4.41.0 could allow a local, low-privileged attacker to escalate privileges to SYSTEM. During an update, Docker Desktop attempts to delete files and subdirectories under the path C:\ProgramData\Docker\config with high privileges. However, this directory often does not exist by default, and C:\ProgramData\ allows normal users to create new directories. By creating a malicious Docker\config folder structure at this location, an attacker can force the privileged update process to delete or manipulate arbitrary system files, leading to Elevation of Privilege.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Docker | Desktop | <4.41.0 | 4.41.0 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Docker, strongest first
Embed
A live severity badge for an advisory, README or ticket