CVE-2026-6406: The Docker CLI --use-api-socket flag bypasses Enhanced Container Isolation (ECI) restrictions in Docker Deskto
CVE-2026-6406 is a high-severity flaw (CVSS 8.8) affecting docker desktop. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 B
Why this priority
- High severity
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 89%) |
| CISA exploited list | No |
| Weakness | CWE-863 |
| Published | 2026-05-22 |
| Last modified | 2026-07-23 |
Last updated 2026-07-23 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-6406?
docker desktop: upgrade to 4.59.0. Exact commands for each OS are on this page.
Is CVE-2026-6406 being exploited?
CVE-2026-6406 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-6406 affect?
CVE-2026-6406 affects docker desktop. Severity is high (CVSS 8.8). 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 configura
How urgent is CVE-2026-6406?
Priority 39/100. High severity; On your watchlist
Software pages
Related CVEs
- CVE-2026-5817 HIGH 8.2 UPGRADE The vllm-metal inference backend in Docker Model Runner on macOS unconditionally sets trust_remote_code=True w
- CVE-2026-5843 HIGH 8.2 UPGRADE The MLX inference backend in Docker Model Runner on macOS uses the MLX-LM library, which unconditionally impor