Skip to content
OpenAdvisories
Medium · 5.2 CVE-2025-6587 EUVD-2025-19843GHSA-qj23-w8jm-w8wv

Exposure of system environment variables in Docker Desktop diagnostic logs

Published Jul 3, 2025 · Updated Feb 26, 2026 · 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.

Affected products

VendorProductAffectedFixed
Docker Docker Desktop < 4.43.0 4.43.0

Advisories 1

References