Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2025-9074 PoC — Docker Desktop allows unauthenticated access to Docker Engine API from containers

Source
Associated Vulnerability
Title:Docker Desktop allows unauthenticated access to Docker Engine API from containers (CVE-2025-9074)
Description:A vulnerability was identified in Docker Desktop that allows local running Linux containers to access the Docker Engine API via the configured Docker subnet, at 192.168.65.7:2375 by default. This vulnerability occurs with or without Enhanced Container Isolation (ECI) enabled, and with or without the "Expose daemon on tcp://localhost:2375 without TLS" option enabled. This can lead to execution of a wide range of privileged commands to the engine API, including controlling other containers, creating new ones, managing images etc. In some circumstances (e.g. Docker Desktop for Windows with WSL backend) it also allows mounting the host drive with the same privileges as the user running Docker Desktop.
Description
New vulnerability found in Docker. Credit for finding the vulnerability goes to Felix Boulet
Readme
# CVE-2025-9074 - Docker Remote API (Lab PoC)

> ⚠️ **Disclaimer:**  
> This repository is for **educational and research purposes only**.  
> Do **not** use this code outside of a controlled environment that you own.  
> The author is not responsible for misuse.  

---

## Overview
This repository contains a proof-of-concept (PoC) for **CVE-2025-9074**, a misconfiguration vulnerability involving the Docker Remote API.  
When the Docker daemon was exposed without authentication, an attacker could issue API requests to create and start containers.  

This PoC demonstrates the issue in a safe and controlled environment.  
**Note:** This vulnerability has been patched.  

---

## Original Write-Up
Credit for the original research and write-up goes to:  
🔗 [qwertysecurity.com – Blog Post](https://blog.qwertysecurity.com/Articles/blog3.html)  

This repository adapts that work into a Python PoC for easier testing in lab environments.  

---

## How it Works
- The script interacts with the Docker Remote API over HTTP.  
- It creates a new container with a specified command.  
- The container is then started via the API.  

The vulnerability existed if the Docker daemon was listening on `tcp://0.0.0.0:2375` without TLS or authentication.  

---

## Usage

### 1. Run Docker with the API exposed (lab only)
```bash
dockerd -H tcp://0.0.0.0:2375
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →