Skip to main content

Docker Desktop CVE-2026-6406

| EUVDEUVD-2026-31484 HIGH
Incorrect Authorization (CWE-863)
2026-05-22 Docker GHSA-3f9v-226v-2qc9
8.8
CVSS 4.0 · Vendor: Docker
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Local Docker CLI access on ECI-enabled host
  2. Delivery
    Invoke docker run with --use-api-socket flag
  3. Exploit
    API proxy inspects Binds only, misses Mounts entry
  4. Execution
    Container starts with Docker Engine socket mounted
  5. Persist
    Issue Engine API calls from container to launch privileged sibling
  6. Impact
    Read host filesystem and exfiltrate ~/.docker/config.json registry credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Local attacker must already have permission to invoke the Docker CLI against Docker Desktop (typically membership in the docker group or interactive desktop session) on a host where Enhanced Container Isolation is enabled and is the control the attacker seeks to bypass - without ECI deployed, no enforcement exists to bypass and the issue is moot. Exploitation specifically requires use of the --use-api-socket flag (or equivalent direct Engine API call populating HostConfig.Mounts rather than HostConfig.Binds), targets Docker Desktop versions prior to 4.59.0, and requires no user interaction or network access. Credential theft as a secondary impact is conditional on the host user having previously authenticated to container registries (docker login).

Impact

The CVSS 3.1 base score of 8.8 reflects local attack vector (AV:L), low complexity (AC:L), low privileges (PR:L), no user interaction (UI:N), and a scope change (S:C) with full CIA impact - appropriate given that container escape via Docker socket access yields control over the host Engine. Real-world risk is moderated by the local-access prerequisite: an attacker must already be able to invoke the Docker CLI on the host, so this is primarily a privilege-escalation and ECI-bypass concern for multi-user workstations, shared developer hosts, and environments where ECI is the security boundary between developers and admin-controlled policy. No EPSS score, KEV listing, or POC was provided in the intelligence package, and no public exploit identified at time of analysis; however, vendor self-reporting plus ZDI coordinated disclosure suggests the issue is well-understood internally. The most relevant defenders are enterprises that deployed ECI specifically to constrain Docker socket exposure - for them this is a meaningful policy-bypass that defeats the control they purchased.

Exploit ScenarioDerived

A developer on a shared workstation where the admin has enabled Docker Desktop ECI and explicitly disallowed Docker socket mounts runs docker run --use-api-socket ... against a container image of their choice; the API proxy passes the request through because it only inspects Binds, and the container starts with /var/run/docker.sock attached. From inside the container the user issues Engine API calls to launch a privileged container that mounts the host filesystem, and harvests ~/.docker/config.json registry tokens from the host user's login session.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 22, 2026

Enhanced Container Isolation (ECI) bypass in Docker Desktop allows a local low-privileged user with Docker CLI access to mount the Docker Engine socket into a container by invoking the --use-api-socket flag, granting full Docker Engine control and exposure of registry credentials. The flaw stems from the API proxy inspecting only HostConfig.Binds while the flag routes the mount through HostConfig.Mounts, slipping past ECI policy. No public exploit identified at time of analysis, but the issue was reported by Docker itself and disclosed via ZDI (ZDI-26-299).

RemediationAI

Vendor-released patch: Docker Desktop 4.59.0 - upgrade per the release notes at https://docs.docker.com/desktop/release-notes/#4590 and cross-reference ZDI-26-299 at https://www.zerodayinitiative.com/advisories/ZDI-26-299/. Until the upgrade is rolled out, administrators relying on ECI should treat the Docker socket as exposed to any local CLI user: revoke Docker group membership from users who should not have Engine-equivalent privileges, log out of container registries on shared hosts to limit credential theft impact, and consider blocking the --use-api-socket flag via endpoint controls or wrapper scripts (trade-off: breaks legitimate workflows that intentionally proxy the Engine socket). Auditing admin-settings to ensure no broader Binds-based allowances exist is also prudent, though it does not address the Mounts-path bypass and is not a substitute for patching.

Affected VersionsENISA

Docker Desktop 4.41.0 <4.59.0

Affected Packages

euvd docker_desktop fix: 4.59.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Docker Desktop's Enhanced Container Isolation feature is a hardening control that runs containers in a Linux VM with restricted privileges and enforces an admin-controlled allowlist for sensitive mounts like the Docker socket. Enforcement is implemented in the Docker Desktop API proxy that sits between the CLI and the Engine. The Docker container creation API accepts mount specifications via two distinct fields: HostConfig.Binds (legacy short string form) and HostConfig.Mounts (newer structured form). The --use-api-socket CLI flag, intended to expose the Engine socket to containers, populates HostConfig.Mounts, but the ECI proxy only validated Binds - a classic CWE-863 incorrect authorization decision where the policy engine inspects an incomplete view of the request. Affected CPE is cpe:2.3:a:docker:docker_desktop:*:*:*:*:*:*:*:*, with the fix landing in Docker Desktop 4.59.0 per the vendor release notes.

Know when Docker gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Docker) PRIMARY 8.8 HIGH
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (Docker) · only source for this CVE.

CVSS VectorVendor: Docker

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

1
Patch available
May 26, 2026 - 14:16 EUVD

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Docker Desktop vulnerability CVE-2026-6406 enables local users to bypass container isolation and gain full Docker Engine access, exposing registry credentials and enabling lateral movement. This creates immediate insider threat and privilege escalation risks for multi-user deployments. Organizations must restrict Docker CLI access now, as no vendor patch is currently available.

Business Impact: High
Compensating Controls

(1) Restrict Docker CLI access to authenticated administrators only; (2) Disable Docker Desktop in multi-user or shared host environments until patched; (3) Implement mandatory credential rotation for container registries; (4) Monitor process audit logs for --use-api-socket invocations; (5) Run Docker Desktop in isolated single-user virtual machines; (6) Block Docker socket mounting through host-level policies where possible.

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy