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

- Severity: Medium 5.2 (CVSS:4.0, scored by Docker) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-02)
- Published: 2025-07-03T10:03:27.155Z
- Modified: 2026-06-17T10:02:12.070Z
- Weaknesses: CWE-532
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Docker

## 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.

(As written by CVE List.)

## Affected

- Docker Docker Desktop: before 4.43.0

## References

- <https://docs.docker.com/desktop/troubleshoot-and-support/troubleshoot/#check-the-logs>

## Sources

- CVE List: [CVE-2025-6587](https://www.cve.org/CVERecord?id=CVE-2025-6587), CVE Terms of Use, modified 2026-02-26
- NVD: [CVE-2025-6587](https://nvd.nist.gov/vuln/detail/CVE-2025-6587), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-6587 · Whole record: https://cve.day/CVE-2025-6587.json · Rebuilt by cve.day 2026-11-25T22:59:00.558Z
