# CVE-2025-0495: Secrets leakage to telemetry endpoint via cache backend configuration via buildx

- Priority: **Routine**
- Reason: Not severe (CVSS 4.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-03-17 · Modified: 2025-03-18
- Aliases: SUSE-SU-2025:1341-1, SUSE-SU-2025:1344-1, UBUNTU-CVE-2025-0495, DEBIAN-CVE-2025-0495, CGA-59xj-fccc-m6h2, CGA-f6hj-jqqx-3pmf, CGA-hq5h-wxgj-j6hf, CGA-xwm6-pj49-wfjv, GHSA-m4gq-fm9h-8q75, GO-2025-3527, openSUSE-SU-2025:14980-1, CGA-mvvm-c47w-gf85, CGA-q897-w43m-mwj4
- Record: https://cvemate.com/vulnerability/CVE-2025-0495 · JSON: https://cvemate.com/vulnerability/CVE-2025-0495/json

## Description

```text
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.
```

## Signals

- CVSS: 4.1 medium (v4.0, CVE.org) 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
- EPSS: 0.196%, percentile 9.755%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard docker-compose (Chainguard): \< 2.34.0-r1
- chainguard docker-compose-fips (Chainguard): \< 2.34.0-r2
- chainguard kubescape (Chainguard): \< 3.0.43-r0
- wolfi docker-compose (Wolfi): \< 2.34.0-r1
- wolfi kubescape (Wolfi): \< 3.0.43-r0
- debian docker-buildx (Debian): \< 0.13.1+ds1-3
- ubuntu docker-buildx (Ubuntu): All versions (No fix recorded)
- docker buildx: ≤ 0.21.2
- github.com/docker buildx (Go): \< 0.21.3
- opensuse docker-stable&distro=openSUSE Tumbleweed (openSUSE): \< 24.0.9\_ce-9.1
- suse docker-stable&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 (SUSE Linux Enterprise): \< 24.0.9\_ce-1.14.1
- suse docker&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 (SUSE Linux Enterprise): \< 27.5.1\_ce-98.129.1

## References

- <https://github.com/docker/buildx>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20251341-1/>
- <https://bugzilla.suse.com/1239765>
- <https://www.suse.com/security/cve/CVE-2025-0495>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20251344-1/>
- <https://ubuntu.com/security/CVE-2025-0495>
- <https://www.cve.org/CVERecord?id=CVE-2025-0495>
- <https://github.com/docker/buildx/security/advisories/GHSA-m4gq-fm9h-8q75>
- <https://security-tracker.debian.org/tracker/CVE-2025-0495>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0495.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-0495>
- <https://github.com/docker/buildx/commit/18ccba072076ddbfb0aeedd6746d7719b0729b58>

---

Data as of 2026-12-05T05:10:17.103Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
