CVE-2025-6587 Details
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.
A vulnerability exists in Docker Desktop versions prior to 4.43.0, where system environment variables are logged in the diagnostic files during shell auto-completion. This logging can unintentionally expose sensitive information such as API keys and passwords. A malicious actor with access to these logs could retrieve this confidential information and use it to gain unauthorized access to other systems.
Users can update to Docker Desktop version 4.43.0 or later, which no longer includes system environment variables in the diagnostic logs. For instructions on how to update Docker Desktop, refer to the Docker Desktop release notes.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 3, 2025CISA-ADP
Assessed Jul 4, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://docs.docker.com/desktop/troubleshoot-and-support/troubleshoot/#check-the-logs | [email protected] | Vendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-532 | Insertion of Sensitive Information into Log File | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Docker Desktop | < 4.43.0 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 3, 2025 | New CVE Received | [email protected] |
Volerion