CVE-2025-6587
Exposure of system environment variables in Docker Desktop diagnostic logs
- State
- Published
- Severity
- 5.2 Medium
- Published
- Jul 3, 2025
- Updated
- Feb 26, 2026
- Reserved
- Jun 24, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.2 Medium | 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 | Docker |
Weaknesses
- CWE-532 Insertion of Sensitive Information into Log File
Affected Products
| Product | Versions |
|---|---|
Docker DesktopDocker |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.