Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2025-9164

CVE-2025-9164: Docker Desktop DLL Hijacking Vulnerability

CVE-2025-9164 is a DLL hijacking flaw in Docker Desktop Installer.exe that enables local privilege escalation through malicious DLL placement. This post covers the technical details, affected versions, and mitigation.

Published: April 1, 2026

CVE-2025-9164 Overview

CVE-2025-9164 is a DLL hijacking vulnerability in Docker Desktop Installer.exe that stems from an insecure DLL search order. The installer searches for required DLLs in the user's Downloads folder before checking system directories, creating an opportunity for local privilege escalation through malicious DLL placement. This vulnerability affects Docker Desktop through version 4.48.0.

Critical Impact

Local attackers can achieve privilege escalation by placing a malicious DLL in the user's Downloads folder, which will be loaded by the Docker Desktop installer with elevated privileges.

Affected Products

  • Docker Desktop through version 4.48.0
  • Docker Desktop Installer.exe (Windows)

Discovery Timeline

  • 2025-10-27 - CVE-2025-9164 published to NVD
  • 2025-10-30 - Last updated in NVD database

Technical Details for CVE-2025-9164

Vulnerability Analysis

This vulnerability is classified under CWE-427 (Uncontrolled Search Path Element), which occurs when a product uses a search path that includes directories which are not intended to be used as sources for the executable or library. In the case of CVE-2025-9164, the Docker Desktop installer follows an insecure DLL search order that prioritizes the user's Downloads folder over trusted system directories.

When a user downloads and executes the Docker Desktop installer from their Downloads folder, the installer attempts to load various DLLs during its execution. Due to the improper search order, any DLL placed in the same directory as the installer will be loaded before the legitimate system DLLs. Since the installer typically runs with elevated privileges during the installation process, a malicious DLL would inherit those privileges, enabling local privilege escalation.

Root Cause

The root cause of this vulnerability lies in the insecure DLL search order implemented by the Docker Desktop Installer. Windows applications that do not explicitly specify the full path to required DLLs rely on a predefined search order. When an application is launched from a user-writable directory such as Downloads, that directory is searched before system directories. The Docker Desktop installer failed to implement safe DLL loading practices, such as using SetDllDirectory("") to remove the current directory from the search path or using absolute paths for DLL loading.

Attack Vector

The attack vector requires local access to the target system. An attacker must be able to place a malicious DLL file in the user's Downloads folder (or the same directory where the installer will be executed). The attack unfolds as follows:

  1. The attacker crafts a malicious DLL that exports the same functions as a DLL required by the Docker Desktop installer
  2. The malicious DLL is placed in the target user's Downloads folder with the expected filename
  3. When the victim downloads and executes the Docker Desktop installer, the malicious DLL is loaded instead of the legitimate system DLL
  4. The attacker's code executes with the same privileges as the installer, typically elevated/administrator privileges

This attack is particularly effective when targeting systems where users commonly download and run installers from their Downloads folder without relocating them to a secure directory.

Detection Methods for CVE-2025-9164

Indicators of Compromise

  • Unexpected DLL files appearing in user Downloads folders, particularly with common system DLL names
  • Process execution logs showing the Docker Desktop installer loading DLLs from non-standard paths
  • New or modified DLL files in the Downloads directory with timestamps correlating to Docker Desktop installation attempts
  • Unusual child processes or network connections spawned by the Docker Desktop installer

Detection Strategies

  • Monitor file creation events in user Downloads folders for DLL files, especially those matching common system library names
  • Implement application whitelisting to prevent unauthorized DLL loading
  • Use endpoint detection and response (EDR) solutions to track DLL loading behavior during installer execution
  • Configure SIEM rules to alert on installer processes loading libraries from user-writable directories

Monitoring Recommendations

  • Enable Windows Security Event logging for process creation (Event ID 4688) with command line auditing
  • Deploy Sysmon with rules to monitor DLL loading events (Event ID 7) for installer processes
  • Regularly audit Downloads folders for suspicious DLL files that don't match expected software distributions
  • Implement file integrity monitoring for common attack surfaces like user profile directories

How to Mitigate CVE-2025-9164

Immediate Actions Required

  • Upgrade Docker Desktop to a version newer than 4.48.0 that addresses this vulnerability
  • Move downloaded installers to a protected directory (e.g., C:\Installers) before execution
  • Verify the integrity of installers using official checksums before running them
  • Clear the Downloads folder of any unexpected DLL files before running installers
  • Consider running installers from a clean, dedicated directory with restricted permissions

Patch Information

Docker has addressed this vulnerability in versions after 4.48.0. Organizations should upgrade to the latest version of Docker Desktop as soon as possible. For detailed patch information and release notes, refer to the Docker Desktop Release Notes.

Workarounds

  • Always move installer files to a secure, non-user-writable directory before execution
  • Audit the Downloads folder for suspicious DLL files before running any installers
  • Implement Group Policy settings to restrict DLL loading from user directories
  • Use application control solutions to prevent unauthorized DLL execution
  • Consider deploying Docker Desktop via enterprise software distribution tools rather than manual installer downloads
bash
# Create a secure installation directory and move installer before execution
mkdir C:\SecureInstallers
icacls C:\SecureInstallers /inheritance:r /grant:r Administrators:F /grant:r SYSTEM:F
move "%USERPROFILE%\Downloads\Docker Desktop Installer.exe" C:\SecureInstallers\
cd C:\SecureInstallers
"Docker Desktop Installer.exe"

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.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:H/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:P/AU:Y/R:U/V:C/RE:X/U:X
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-427
  • Technical References
  • Docker Desktop Release Notes
  • 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 World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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