CVE-2026-6406
Docker Desktop Enhanced Container Isolation bypass via --use-api-socket CLI flag
Mitigation
- Upgrade Docker Desktop to 4.59.0 or later.
- Vendor workaround: Upgrade to Docker Desktop 4.59.0 or later. As a workaround, restrict which users can execute Docker CLI commands on the host.
Who should check
- Anyone running Docker Desktop >= 4.41.0, < 4.59.0
Vulnerability facts
- Affected
- Docker Desktop >= 4.41.0, < 4.59.0
- Fixed in
- Docker Desktop 4.59.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 8.8 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: Low
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: High
- Integrity impact on other systems: High
- Availability impact on other systems: High
- EPSS
- 0.20% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- CWE
- CWE-863
- Modified
Description
The Docker CLI --use-api-socket flag bypasses Enhanced Container Isolation (ECI) restrictions in Docker Desktop. When ECI is enabled, Docker socket mounts from containers are denied unless explicitly allowed via the admin-settings configuration. However, the --use-api-socket flag adds the Docker socket mount via the HostConfig.Mounts field rather than the HostConfig.Binds field. The ECI enforcement in the Docker Desktop API proxy only inspected Binds, allowing the mount to pass unchecked. This grants a container full access to the Docker Engine socket and, if the host user has logged in to container registries, their authentication credentials. A local attacker with the ability to run Docker CLI commands can exploit this to escape ECI restrictions, access the Docker Engine, and potentially escalate privileges.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Docker Desktop | >= 4.41.0, < 4.59.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-6406. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-6406.md Affected: Docker Desktop >= 4.41.0, < 4.59.0 Fixed in: Docker Desktop 4.59.0 Steps: 1. Search this machine and project for Docker Desktop: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-6406 being exploited?
There is no confirmed exploitation: CVE-2026-6406 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-6406?
High: CVSS 8.8 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-6406?
Docker Desktop >= 4.41.0, < 4.59.0.
Is there a fix for CVE-2026-6406?
Yes. Fixed in Docker Desktop 4.59.0. Upgrade Docker Desktop to 4.59.0 or later. Vendor workaround: Upgrade to Docker Desktop 4.59.0 or later. As a workaround, restrict which users can execute Docker CLI commands on the host.
How do I check if I'm affected by CVE-2026-6406?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.