A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-6406

CVE-2026-6406: Docker Desktop Privilege Escalation Flaw

CVE-2026-6406 is a privilege escalation vulnerability in Docker Desktop allowing attackers to bypass Enhanced Container Isolation restrictions. This article covers technical details, affected versions, and steps to secure.

Published: May 28, 2026

CVE-2026-6406 Overview

CVE-2026-6406 is an authorization bypass vulnerability in Docker Desktop that allows a local attacker to circumvent Enhanced Container Isolation (ECI) restrictions. The Docker CLI --use-api-socket flag mounts the Docker socket through the HostConfig.Mounts field instead of HostConfig.Binds. The ECI enforcement logic in the Docker Desktop API proxy only inspects Binds, so the socket mount passes unchecked. A local user able to run Docker CLI commands gains full access to the Docker Engine socket and any container registry credentials cached by the host user. The flaw is tracked under [CWE-863: Incorrect Authorization].

Critical Impact

Local attackers can escape ECI restrictions, control the Docker Engine, steal registry credentials, and escalate privileges on the host.

Affected Products

  • Docker Desktop versions prior to 4.59.0
  • Docker CLI when used with the --use-api-socket flag
  • Environments relying on Enhanced Container Isolation (ECI) for tenant separation

Discovery Timeline

  • 2026-05-22 - CVE-2026-6406 published to NVD
  • 2026-05-22 - Last updated in NVD database

Technical Details for CVE-2026-6406

Vulnerability Analysis

Docker Desktop's Enhanced Container Isolation feature restricts what containers can mount from the host. Administrators rely on ECI to prevent containers from mounting /var/run/docker.sock, which would otherwise grant container escape and host control. The ECI policy is enforced inside the Docker Desktop API proxy, which intercepts container create requests and validates mount specifications before forwarding them to the Docker Engine.

The enforcement code only examined the HostConfig.Binds array, the traditional mechanism for declaring bind mounts. Docker's API also supports a richer mount specification through HostConfig.Mounts, which expresses the same bind semantics using a structured object. The --use-api-socket CLI flag generates the socket mount using the Mounts form rather than Binds, so the ECI policy check never evaluates it.

The consequence is total access to /var/run/docker.sock from within the container. An attacker can launch privileged containers, mount the host filesystem, read Docker config files, and harvest registry authentication tokens stored by the logged-in user.

Root Cause

The root cause is incomplete authorization logic in the API proxy. The validator inspected only one of two equivalent mount declaration paths in the Docker Engine API, leaving the Mounts field outside the policy scope.

Attack Vector

Exploitation requires local access and the ability to invoke the Docker CLI. The attacker runs a container with docker run --use-api-socket ..., which transparently attaches the Docker socket through the unchecked Mounts field. From inside the container, the attacker issues Docker API calls to create new privileged containers or extract credentials. Technical analysis is available in the Zero Day Initiative Advisory ZDI-26-299.

Detection Methods for CVE-2026-6406

Indicators of Compromise

  • Docker CLI invocations containing the --use-api-socket flag in shell histories or process audit logs on hosts where ECI is enabled.
  • Container create API requests where HostConfig.Mounts references /var/run/docker.sock or docker.sock as the source path.
  • Unexpected child container creation originating from inside a running container, indicating Docker socket abuse.
  • Access to ~/.docker/config.json or registry credential helpers from container processes.

Detection Strategies

  • Inspect Docker daemon logs and the Docker Desktop API proxy logs for container create requests carrying socket mounts via the Mounts field.
  • Monitor command-line telemetry for the --use-api-socket argument on endpoints running Docker Desktop.
  • Baseline ECI policy decisions and alert on containers that mount the Docker socket despite ECI being enabled.

Monitoring Recommendations

  • Enable process command-line auditing on developer workstations and forward events to a central SIEM.
  • Correlate Docker Desktop version inventory with the patched version 4.59.0 to identify exposed hosts.
  • Track registry login events and credential file access patterns for anomalies following container execution.

How to Mitigate CVE-2026-6406

Immediate Actions Required

  • Upgrade Docker Desktop to version 4.59.0 or later on all endpoints that rely on ECI for isolation.
  • Audit existing admin-settings policies to confirm Docker socket mounts remain explicitly denied.
  • Revoke and reissue container registry credentials that may have been exposed on potentially affected hosts.

Patch Information

Docker addressed the issue in Docker Desktop 4.59.0. The fix extends ECI enforcement to inspect both HostConfig.Binds and HostConfig.Mounts when evaluating Docker socket mount requests. Refer to the Docker Desktop Release Notes for the official update.

Workarounds

  • Restrict use of the Docker CLI to trusted users through host-level access controls until patching is complete.
  • Disable or block the --use-api-socket flag at the wrapper or policy layer where feasible.
  • Log out of container registries on Docker Desktop hosts that cannot be immediately patched to limit credential exposure.
bash
# Verify Docker Desktop version meets the patched release
docker version --format '{{.Client.Version}}'

# Confirm ECI is enabled in admin-settings.json
# (Windows: %ProgramData%\DockerDesktop\admin-settings.json)
# (macOS:   /Library/Application Support/com.docker.docker/admin-settings.json)
cat admin-settings.json | grep -i enhancedContainerIsolation

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechDocker

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-863
  • Technical References
  • Docker Desktop Release Notes

  • Zero Day Initiative Advisory ZDI-26-299
  • Related CVEs
  • CVE-2025-15558: Docker CLI Privilege Escalation Vulnerability

  • CVE-2026-28400: Docker Model Runner Privilege Escalation

  • CVE-2026-2664: Docker Desktop Privilege Escalation Flaw

  • CVE-2025-14740: Docker Desktop Privilege Escalation Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English