CVE-2025-0495 json
Secrets leakage to telemetry endpoint via cache backend configuration via buildx
published 2025-03-17 19 mo ago modified 2026-09-10 1 mo ago also EUVD-2025-6497 , GHSA-m4gq-fm9h-8q75 , GO-2025-3527
- cvss
- 4.1
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 9%
- public exploits
- 0
- none known
Summary
Buildx is a Docker CLI plugin that extends build capabilities using BuildKit.
Cache backends support credentials by setting secrets directly as attribute values in cache-to/cache-from configuration. When supplied as user input, these secure values may be inadvertently captured in OpenTelemetry traces as part of the arguments and flags for the traced CLI command. OpenTelemetry traces are also saved in BuildKit daemon's history records.
This vulnerability does not impact secrets passed to the Github cache backend via environment variables or registry authentication.
Patch / fix
- go github.com/docker/buildx 0.21.3
- docker buildx 0.21.3
- docker-buildx Debian 14, Debian 13 0.13.1+ds1-3
debian advisories DEBIAN-CVE-2025-0495
- docker-compose Linux Micro 6.1 2.33.1-slfo.1.1_3.1
- docker-compose SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 2.33.1-160000.5.1
- docker-compose Linux Micro 6.0 2.33.1-5.1
- docker SLE Module for Containers 15 SP7, SLE Module for Containers 15 SP6, SLE Module for Basesystem 15 SP7 +18 more 28.2.2_ce-150000.227.1
- docker-stable SLE Module for Containers 15 SP7, SLE Module for Containers 15 SP6, SLE High Performance Computing 15 SP5-ESPOS +12 more 24.0.9_ce-150000.1.22.1
- docker Linux Micro 6.1 27.5.1_ce-slfo.1.1_2.1
- docker Linux Micro 6.0 27.5.1_ce-2.1
- docker-stable SLES LTSS Extended Security 12 SP5 24.0.9_ce-1.14.1
suse advisories SUSE-SU-2026:22887-1SUSE-SU-2026:22546-1SUSE-SU-2026:22567-1SUSE-SU-2026:22703-1SUSE-SU-2025:02289-2SUSE-SU-2025:02289-1
- docker-compose openSUSE Leap 16.0 2.33.1-160000.5.1
- docker openSUSE Tumbleweed 27.5.1_ce-15.1
- docker-stable openSUSE Tumbleweed 24.0.9_ce-9.1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250318T181448-1.1
opensuse advisories openSUSE-SU-2026:21247-1openSUSE-SU-2025:14985-1openSUSE-SU-2025:14980-1openSUSE-SU-2025:14910-1
- moby-buildx CBL-Mariner 2.0 0.7.1-25
- docker-buildx Azure Linux 3.0 0.14.0-5
azure linux advisories AZL-58854AZL-58863
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.20% chance of exploitation in the next 30 days, higher than 9% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 4.1 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N |
| CNA | 4.0 | 4.1 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/docker/buildx | <0.21.3 |
0.21.3 |
Affected products
- docker buildx
Classification
- Weakness
-
- CWE-532 Insertion of Sensitive Information into Log File
References
Sources
- CVE List CVE-2025-0495
- GitHub Advisory GHSA-m4gq-fm9h-8q75
- NVD CVE-2025-0495
- OSV GO-2025-3527
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.