CVE-2025-6587
published medium CVSS 4.0 · 5.2Exposure of system environment variables in Docker Desktop diagnostic logs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Docker | — | Docker Desktop0 to < 4.43.0 · Other versions: unaffected · Platforms: MacOS, Linux | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.2 / 10
- Severity
- medium
- Provider
- Docker · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Docker | Docker Desktop | 0 to < 4.43.0 (affected · semver)Default: unaffected | Docker · cna |
Weaknesses
1- CWE-532 CWE-532 Insertion of Sensitive Information into Log File
References
1Provider assertions
2Docker · cna
Exposure of system environment variables in Docker Desktop diagnostic logs
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2b141ee00bf8f4f625fb9a2479218975dcb6035ce674705786505f68b4a8fa0a
- Ingested
- 23 Sep 2026, 08:57:43 UTC
- Source record
- Official CVE record