# CVE-2025-6587: Exposure of system environment variables in Docker Desktop diagnostic logs

> CVE-2025-6587: Exposure of system environment variables in Docker Desktop diagnostic logs. CVSS 5.2 (CVSS 4.0).

Canonical: https://rewindex.com/cve/CVE-2025-6587
Last updated: 2026-06-17T10:02:12Z

- Published: 2025-07-03 10:03 UTC · Updated: 2026-06-17 10:02 UTC · Assigner: Docker
- CVSS: 5.2 (CVSS 4.0) · Severity: Medium
- EPSS: 0.15%, 4th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: 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 vendors and products

- Docker: Docker Desktop

## Tracked companies

- [Docker](https://rewindex.com/company/docker.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-6587)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-6587)
- [https://docs.docker.com/desktop/troubleshoot-and-support/troubleshoot/\#check-the-logs](https://docs.docker.com/desktop/troubleshoot-and-support/troubleshoot/#check-the-logs)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-6587 · Markdown: https://rewindex.com/cve/CVE-2025-6587.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-6587 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:49:28.584Z
