CVE-2025-6587
Docker Desktop vulnerability analysis and mitigation

Overview

System environment variables are recorded in Docker Desktop diagnostic logs when using shell auto-completion. This vulnerability (CVE-2025-6587) leads to unintentional disclosure of sensitive information such as API keys and passwords. The issue was discovered and disclosed in July 2025, affecting Docker Desktop versions prior to 4.43.0 (NVD, CVE).

Technical details

The vulnerability occurs when shell auto-completion is used with Docker Desktop, causing system environment variables to be recorded in diagnostic logs. This creates a potential security risk as sensitive information gets logged unintentionally. The vulnerability has been assigned a CVSS v4.0 Base Score of 5.2 (Medium) with the vector string 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. The weakness is categorized under CWE-532 (Insertion of Sensitive Information into Log File) (NVD).

Impact

A malicious actor with read access to Docker Desktop diagnostic logs could obtain secrets such as API keys and passwords, potentially leading to unauthorized access to other systems. The exposure of sensitive environment variables could compromise system security and lead to further exploitation of connected services (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Docker Desktop version 4.43.0, which no longer logs system environment variables as part of diagnostics log collection. Users are advised to upgrade to this version or later to mitigate the risk (NVD).

Additional resources


SourceThis report was generated using AI

Related Docker Desktop vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-9074CRITICAL9.3
  • Docker DesktopDocker Desktop
  • cpe:2.3:a:docker:desktop
NoYesAug 20, 2025
CVE-2025-3224HIGH7.3
  • Docker DesktopDocker Desktop
  • cpe:2.3:a:docker:desktop
NoYesApr 28, 2025
CVE-2025-6587MEDIUM5.2
  • Docker DesktopDocker Desktop
  • cpe:2.3:a:docker:desktop
NoYesJul 03, 2025
CVE-2025-3911MEDIUM5.2
  • Docker DesktopDocker Desktop
  • cpe:2.3:a:docker:desktop
NoYesApr 29, 2025
CVE-2025-4095MEDIUM4.3
  • Docker DesktopDocker Desktop
  • cpe:2.3:a:docker:desktop
NoYesApr 29, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management