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

Published Jul 3, 2025
·
Updated

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 Software

1 affected component
Docker Docker Desktop>=4.43.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Docker Desktop to a version that resolves this vulnerability.

    Fixed in 4.43.0
  2. Operational

    Ensure shell auto-completion is not used to generate Docker Desktop diagnostic logs until Docker Desktop is upgraded to version 4.43.0, since system environment variables are recorded in diagnostic logs when using shell auto-completion.

Event History

Jul 3, 2025
CVE Published
via MITRE·10:03 AM
Data Sourced
via MITRE·10:03 AM
DescriptionWeakness
Data Sourced
via NVD·10:15 AM
DescriptionSeverityWeakness
Nov 16, 57490
Event
via FIRST·12:32 AM

Frequently Asked Questions

1

What is the severity of CVE-2025-6587?

CVE-2025-6587 is considered a moderate severity vulnerability due to the potential exposure of sensitive information.

2

How do I fix CVE-2025-6587?

To mitigate CVE-2025-6587, avoid using shell auto-completion in Docker Desktop or regularly review and secure your diagnostic logs.

3

What sensitive information can be exposed due to CVE-2025-6587?

CVE-2025-6587 may expose sensitive information such as API keys, passwords, and other system environment variables.

4

Which versions of Docker Desktop are affected by CVE-2025-6587?

CVE-2025-6587 affects Docker Desktop versions 4.43.0 and later.

5

How can I prevent unauthorized access to diagnostic logs related to CVE-2025-6587?

To prevent unauthorized access, ensure that only trusted personnel have access to the Docker Desktop diagnostic logs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203