Skip to main content
CVE-2025-6587VulnerabilityPublished Updated

CVE-2025-6587: Docker Desktop · Sensitive Data in Logs

Affects Docker DesktopSource CVE Database V5

0

Not known to be exploited · CVSS 5.2 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
5.2Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Jul 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
Docker Docker DesktopAffected
  • =0
Fixed in–

AI-suggested

To mitigate CVE-2025-6587, organizations should immediately upgrade Docker Desktop to version 4.43.0 or later, where the logging of environment variables in diagnostic logs has been disabled. Additionally, restrict access to diagnostic logs to only trusted administrators and users with a legitimate need, using strict file permissions and access controls. Implement monitoring and alerting for unusual access patterns to log files. Review and rotate any secrets or credentials that may have been exposed through logs prior to patching. Encourage developers and operators to avoid placing highly sensitive information in environment variables when possible, or use secret management tools that do not expose secrets in environment variables. Finally, audit and sanitize logs regularly to ensure no sensitive data is inadvertently recorded.

Description

System environment variables are recorded in Docker Desktop diagnostic logs, when using shell auto-completion. This leads to unintentional disclosure of sensitive information such as api keys, passwords, etc.  A malicious actor with read access to these logs could obtain secrets and further use them to gain unauthorized access to other systems. Starting with version 4.43.0 Docker Desktop no longer logs system environment variables as part of diagnostics log collection.

References

Community reviews

Loading reviews…