CVE-2025-6587

Medium

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.

SeverityMedium
CVSS5.2
Exploit probability—
ProductDocker Desktop
PublishedJul 3, 2025
First seenJul 3, 2025
Weakness typeCWE-532CWE-532

How to fix

Update
  • Docker Docker Desktop4.43.0 or later

Affected products

ProductAffected versionsFixed in
Docker Docker Desktopv < 4.43.04.43.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-6587 · Docker Desktop · Dark Radar