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-2025-3911

CVE-2025-3911: Docker Desktop Information Disclosure Flaw

CVE-2025-3911 is an information disclosure vulnerability in Docker Desktop where environment variables are logged, potentially exposing API keys and passwords. This article covers technical details, impact, and mitigation.

Updated: May 15, 2026

CVE-2025-3911 Overview

CVE-2025-3911 affects Docker Desktop, where the application records container environment variables in its application logs. Environment variables frequently contain sensitive data such as API keys, database passwords, and authentication tokens. A local actor with read access to these log files can harvest those credentials and reuse them to pivot into other systems. Docker addressed the issue in version 4.41.0, after which Docker Desktop no longer writes user-defined environment variables to disk logs. The flaw is tracked under CWE-532: Insertion of Sensitive Information into Log File.

Critical Impact

Local attackers reading Docker Desktop logs can extract container secrets and use them to gain unauthorized access to downstream cloud services, databases, and APIs.

Affected Products

  • Docker Desktop versions prior to 4.41.0
  • Docker Desktop on Windows, macOS, and Linux host platforms
  • Containers launched through Docker Desktop with environment variables containing secrets

Discovery Timeline

  • 2025-04-29 - CVE-2025-3911 published to the National Vulnerability Database
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-3911

Vulnerability Analysis

The vulnerability is an information disclosure flaw rooted in insecure logging behavior. When users start containers through Docker Desktop and pass environment variables using -e flags, Compose files, or the GUI, the Docker Desktop process writes those variable names and values into its application log files. These logs persist on the host file system and follow the operating system's default file permissions.

Developers and operators commonly inject secrets into containers using environment variables. Typical examples include AWS_SECRET_ACCESS_KEY, DATABASE_PASSWORD, GITHUB_TOKEN, and arbitrary API keys. When Docker Desktop captures these values, the secrets remain readable inside text-based log files long after the container has stopped.

Root Cause

The root cause is the absence of secret-aware log redaction in the Docker Desktop logging subsystem. The application treated container launch parameters as routine diagnostic data and serialized them verbatim. No allowlist, denylist, or pattern-based masking filtered values associated with environment variables before they reached persistent storage.

Attack Vector

Exploitation requires local access to the host system and permission to read Docker Desktop log files. An attacker who already has a foothold on the workstation, such as a low-privileged user or a malicious process, can enumerate the log directory referenced in the Docker Desktop Troubleshooting Guide. The attacker then parses logged environment variables and extracts credentials. The harvested secrets can be replayed against cloud providers, source code repositories, or production databases, expanding the breach beyond the original host.

Detection Methods for CVE-2025-3911

Indicators of Compromise

  • Docker Desktop log files containing plaintext environment variable assignments such as TOKEN=, PASSWORD=, SECRET=, or KEY= values
  • Unexpected read access to Docker Desktop log directories by non-administrative users or background processes
  • Outbound authentication attempts to cloud APIs from hosts where the corresponding credentials were only present in container environment variables

Detection Strategies

  • Scan Docker Desktop log files on developer workstations for high-entropy strings and common secret prefixes such as AKIA, ghp_, or xoxb-
  • Audit file access events on Docker Desktop log paths and alert on reads by processes other than the Docker daemon itself
  • Correlate credential use in cloud audit logs against the hosts and identities authorized to hold those credentials

Monitoring Recommendations

  • Inventory all endpoints running Docker Desktop and confirm whether the installed version is 4.41.0 or later
  • Enable endpoint telemetry on log directories to capture file open and copy operations by non-Docker processes
  • Rotate any secret that may have been passed to containers as an environment variable on a vulnerable Docker Desktop version

How to Mitigate CVE-2025-3911

Immediate Actions Required

  • Upgrade Docker Desktop to version 4.41.0 or later on every developer and engineering workstation
  • Rotate API keys, tokens, and passwords that were previously supplied to containers as environment variables
  • Restrict file system permissions on Docker Desktop log directories so only administrators and the Docker service account can read them
  • Purge or securely delete existing Docker Desktop log files that may contain captured secrets

Patch Information

Docker released the fix in Docker Desktop version 4.41.0. Starting with that release, Docker Desktop no longer logs environment variables set by the user. Administrators should validate the installed version using docker version and the Docker Desktop About dialog after upgrading.

Workarounds

  • Pass secrets to containers using Docker secrets or mounted files instead of -e environment variables when running unpatched versions
  • Use a dedicated secrets manager such as a vault service and inject values at runtime through APIs rather than container environment definitions
  • Apply strict access control lists on the Docker Desktop log directory to limit exposure until patching completes
bash
# Configuration example
# Verify Docker Desktop version meets the patched baseline
docker version --format '{{.Client.Version}}'

# Prefer file-based secrets over environment variables
docker run --rm \
  --mount type=bind,source=/run/secrets/db_password,target=/run/secrets/db_password,readonly \
  myapp:latest

# Restrict access to Docker Desktop logs (Linux/macOS example)
chmod 700 ~/Library/Containers/com.docker.docker/Data/log

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechDocker

  • SeverityMEDIUM

  • CVSS Score5.2

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/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
  • AvailabilityNone
  • CWE References
  • CWE-532
  • Technical References
  • Docker Desktop Troubleshooting Guide
  • Related CVEs
  • CVE-2025-13743: Docker Desktop Information Disclosure Flaw

  • CVE-2025-0495: Docker Buildx Information Disclosure Flaw

  • CVE-2023-5166: Docker Desktop Information Disclosure Flaw

  • CVE-2026-5741: Docker-MCP-Server RCE Vulnerability
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