System environment variables are recorded in Docker...
Moderate severity
Unreviewed
Published
Jul 3, 2025
to the GitHub Advisory Database
•
Updated Jul 3, 2025
Description
Published by the National Vulnerability Database
Jul 3, 2025
Published to the GitHub Advisory Database
Jul 3, 2025
Last updated
Jul 3, 2025
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.
References