CVE-2026-6406: CWE-863: Incorrect Authorization in Docker Docker Desktop
CVE-2026-6406 is a high-severity vulnerability in Docker Desktop version 4.41.0 where the Docker CLI's --use-api-socket flag bypasses Enhanced Container Isolation (ECI) restrictions. This occurs because the ECI enforcement only inspects certain mount fields, allowing a container to gain unauthorized access to the Docker Engine socket and potentially the host user's container registry credentials. A local attacker with Docker CLI access can exploit this to escape ECI restrictions and escalate privileges.
AI Analysis
Technical Summary
The vulnerability arises from incorrect authorization in Docker Desktop's handling of socket mounts when using the --use-api-socket flag. Enhanced Container Isolation (ECI) is designed to block Docker socket mounts from containers unless explicitly allowed via admin settings. However, the --use-api-socket flag mounts the Docker socket via HostConfig.Mounts instead of HostConfig.Binds. Since the ECI enforcement inspects only the Binds field, this mount bypasses the restriction, granting the container full access to the Docker Engine socket and any stored authentication credentials. This enables a local attacker with Docker CLI command execution to escape ECI confinement and potentially escalate privileges on the host.
Potential Impact
Exploitation allows a local attacker with Docker CLI access to bypass Enhanced Container Isolation, gaining full access to the Docker Engine socket. This can lead to unauthorized control over Docker containers and the host system, including access to container registry credentials if the host user is logged in. The vulnerability has a CVSS 4.0 score of 8.8, indicating high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the Docker vendor advisory for current remediation guidance. Until an official fix is available, restrict local user access to Docker CLI commands and avoid enabling the --use-api-socket flag in environments requiring strict container isolation. Monitor Docker's official channels for updates and apply patches promptly once released.
CVE-2026-6406: CWE-863: Incorrect Authorization in Docker Docker Desktop
Description
CVE-2026-6406 is a high-severity vulnerability in Docker Desktop version 4.41.0 where the Docker CLI's --use-api-socket flag bypasses Enhanced Container Isolation (ECI) restrictions. This occurs because the ECI enforcement only inspects certain mount fields, allowing a container to gain unauthorized access to the Docker Engine socket and potentially the host user's container registry credentials. A local attacker with Docker CLI access can exploit this to escape ECI restrictions and escalate privileges.
CVSS v4.0
Score 8.8high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from incorrect authorization in Docker Desktop's handling of socket mounts when using the --use-api-socket flag. Enhanced Container Isolation (ECI) is designed to block Docker socket mounts from containers unless explicitly allowed via admin settings. However, the --use-api-socket flag mounts the Docker socket via HostConfig.Mounts instead of HostConfig.Binds. Since the ECI enforcement inspects only the Binds field, this mount bypasses the restriction, granting the container full access to the Docker Engine socket and any stored authentication credentials. This enables a local attacker with Docker CLI command execution to escape ECI confinement and potentially escalate privileges on the host.
Potential Impact
Exploitation allows a local attacker with Docker CLI access to bypass Enhanced Container Isolation, gaining full access to the Docker Engine socket. This can lead to unauthorized control over Docker containers and the host system, including access to container registry credentials if the host user is logged in. The vulnerability has a CVSS 4.0 score of 8.8, indicating high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the Docker vendor advisory for current remediation guidance. Until an official fix is available, restrict local user access to Docker CLI commands and avoid enabling the --use-api-socket flag in environments requiring strict container isolation. Monitor Docker's official channels for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Docker
- Date Reserved
- 2026-04-15T21:42:36.201Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a10ab43e1370fbb483c59b5
Added to database: 05/22/2026, 19:15:15 UTC
Last enriched: 05/29/2026, 20:46:38 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 180
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.