What’s Vulnerable › Vulnerabilities
CVE-2025-6587: Exposure of system environment variables in Docker Desktop diagnostic logs
- Severity: medium (CVSS 5.2 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-03 · updated 2026-06-17
- Weakness: CWE-532
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
- Docker Desktop: before 4.43.0 — fixed in 4.43.0
How to fix
Upgrade to a fixed version: Docker Desktop 4.43.0. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2025-6587 or the next vulnerability affects your stack