Vulnerability · Published Jul 3, 2025 · Assigned by Docker
CVE-2025-6587Exposure of system environment variables in Docker Desktop diagnostic logs
Medium 5.2
In plain English
A medium-severity sensitive data in logs in Docker Desktop from Docker. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Docker | Docker Desktop | 0 – before 4.43.0 |
Weakness: CWE-532 · 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