{"id":"CVE-2025-6587","state":"PUBLISHED","title":"Exposure of system environment variables in Docker Desktop diagnostic logs","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. \nA 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.","publishedAt":"2025-07-03T10:03:27.155Z","updatedAt":"2026-02-26T18:27:56.445Z","severity":{"score":5.2,"label":"Medium","version":"4.0","vector":"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","source":"Docker"},"assigner":"Docker","products":["Docker Docker Desktop"],"affected":[{"vendor":"Docker","product":"Docker Desktop","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"4.43.0","versionType":"semver"}],"platforms":["MacOS","Linux"]}],"references":["https://docs.docker.com/desktop/troubleshoot-and-support/troubleshoot/#check-the-logs"],"weaknesses":["CWE-532"],"ingestedAt":"2026-10-29T20:10:04.440Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/6xxx/CVE-2025-6587.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-6587","state":"PUBLISHED","datePublished":"2025-07-03T10:03:27.155Z","dateUpdated":"2026-02-26T18:27:56.445Z","assignerShortName":"Docker","assignerOrgId":"686469e6-3ff6-451b-ab8b-cf5b9e89401e","dateReserved":"2025-06-24T20:47:44.847Z"},"containers":{"cna":{"title":"Exposure of system environment variables in Docker Desktop diagnostic logs","descriptions":[{"lang":"en","value":"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. \nA 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":[{"vendor":"Docker","product":"Docker Desktop","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"4.43.0","versionType":"semver"}],"platforms":["MacOS","Linux"]}],"references":[{"url":"https://docs.docker.com/desktop/troubleshoot-and-support/troubleshoot/#check-the-logs"}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":5.2,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-532","description":"CWE-532 Insertion of Sensitive Information into Log File","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Docker","orgId":"686469e6-3ff6-451b-ab8b-cf5b9e89401e","dateUpdated":"2025-07-03T10:13:53.570Z"},"impacts":[{"capecId":"CAPEC-37","descriptions":[{"lang":"en","value":"CAPEC-37 Retrieve Embedded Sensitive Data"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2025-6587","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-07-04T03:55:31.391658Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-26T18:27:56.445Z"}}]}}}