CVE-2025-6587

published 3 Jul 2025 · updated 26 Feb 2026

Exposure of system environment variables in Docker Desktop diagnostic logs

5.2MediumCVSS 5.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Desktop 4.43.0.

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, products and packages with version ranges

VendorProductVersionsFixed
DockerDesktop<4.43.04.43.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Docker, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-6587 severity on Zeptric[![CVE-2025-6587](https://zeptric.io/badge/cve/CVE-2025-6587.svg)](https://zeptric.io/cve/CVE-2025-6587)