Docker Desktop Helper Service Link Following Local Privilege Escalation Vulnerability
Vulnerability Details
This vulnerability allows local attackers to escalate privileges on affected installations of Docker Desktop. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.
The specific flaw exists within the WindowsContainersController class. By creating a junction, an attacker can abuse the service to delete a folder. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of SYSTEM.
Additional Details
Docker has issued an update to correct this vulnerability. More details can be found at:
https://docs.docker.com/desktop/release-notes/#for-windows-19
Disclosure Timeline
- 2024-04-24 - Vulnerability reported to vendor
- 2025-05-21 - Coordinated public release of advisory
- 2025-05-21 - Advisory Updated
Credit
Hashim Jawad (@ihack4falafel)