CVE-2026-6406
HIGHDescription
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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Exploit Intelligence
Low risk: more likely to be exploited than 11% of all known CVEs.
References
Related Vulnerabilities
Other CWE-863 (Incorrect Authorization) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2023-22518 | Critical | 9.8 | 100% | KEV + Ransom | Fix |
| CVE-2023-38035 | Critical | 9.8 | 100% | KEV + Ransom | - |
| CVE-2022-46169 | Critical | 9.8 | 100% | KEV | Fix |
| CVE-2025-29927 | Critical | 9.1 | 100% | - | Fix |
| CVE-2024-38856 | Critical | 9.8 | 99% | KEV | Fix |
| CVE-2020-36289 | Medium | 5.3 | 99% | - | Fix |
Embed a live status badge for CVE-2026-6406
Markdown
[](https://tridentstack.com/cve/CVE-2026-6406)HTML
<a href="https://tridentstack.com/cve/CVE-2026-6406"><img src="https://tridentstack.com/cve/badge/CVE-2026-6406.svg" alt="CVE-2026-6406"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-05-29.