When a SSRF is enough: Full Docker Escape on Windows Docker Desktop (CVE-2025-9074)
On unpatched Docker Desktop for Windows, the internal Docker API was reachable without authentication from inside any container. An attacker with code execution in a container, or able to make a request via SSRF, could create a privileged container that mounts the host C: drive and so gain full access to the Windows host.
blog.qwertysecurity.com
Published on blog.qwertysecurity.com
Sometimes bugs don't need to be that complicated. This is the tale of how I found the Full Docker Escape that was attributed "CVE-2025-9074" and that is now fixed with Docker Desktop patch "4.44.3".
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Docker control-plane API was bound to an internal network interface reachable by containers and had no authentication or access control.
Impact
An attacker could fully compromise the Windows host, and the author notes the same two requests would work from an SSRF without code execution in the container.
What the attacker needed
Docker Desktop for Windows before 4.44.3; ability to send a request from a container; or an SSRF from the container
The fix
Docker Desktop 4.44.3 was released with a fix, and the author says there have been no known issues since.
How it was found
- From inside a container, send a request to the internal Docker API to create a container that binds the host C: drive and runs a command writing to it.
- Read the new container's identifier from the response.
- Send a second request to start that container, which executes the command against the host drive.
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 write-up has not been written yet. The Original tab links to the source.
Containers are meant to be sealed boxes on your computer, so code inside one should not be able to touch the rest of the machine. Here the management service that controls containers was listening on an internal network address that every container could reach, and it asked for no password. That let anything inside a container ask it to start a new container with the host's main disk attached, which effectively hands over the whole computer.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.