Docker Desktop Enhanced Container Isolation Exposed Dangerous Function Local Privilege Escalation Vulnerability
A flaw in how Docker Desktop processes Docker CLI arguments exposes a dangerous function, allowing an attacker with low-privileged code inside a container to escalate privileges and access resources normally protected by Enhanced Container Isolation.
Originally disclosed on Zero Day Initiative
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 within a container in order to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, the Docker CLI argument processing exposes a dangerous function that can be invoked from within a container to bypass Enhanced Container Isolation.
Impact
An attacker with low-privileged code execution inside a container could escalate privileges to resources normally protected by Enhanced Container Isolation.
What the attacker needed
Ability to execute low-privileged code in a container
The fix
The vulnerability was fixed in Docker Desktop 4.59.0.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Docker Desktop is a tool for running containers on your computer. Enhanced Container Isolation is a security feature that keeps containers separate from the rest of your system. This bug means that if someone can already run code inside a container, they might be able to break out of that isolation and get higher-level access to the host.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.