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

- Severity: Medium 4.1 (CVSS:4.0, scored by Docker) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-02)
- Published: 2025-03-17T19:21:11.295Z
- Modified: 2026-09-10T03:50:56.838Z
- Also known as: GHSA-m4gq-fm9h-8q75, GO-2025-3527
- Related: CGA-jqqg-39q6-6jp8
- Weaknesses: CWE-532
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Docker

## Description

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.

(As written by CVE List.)

## Affected

- buildx: up to 0.21.2
- github.com/docker/buildx (Go): before 0.21.3

## Every score

- Docker: CVSS:4.0 4.1 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/docker/buildx> (package)
- <https://github.com/docker/buildx/security/advisories/GHSA-m4gq-fm9h-8q75> (advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-0495> (advisory)
- <https://github.com/docker/buildx/commit/18ccba072076ddbfb0aeedd6746d7719b0729b58> (fix, web)

## Sources

- CVE List: [CVE-2025-0495](https://www.cve.org/CVERecord?id=CVE-2025-0495), CVE Terms of Use, modified 2025-03-18
- GitHub Advisory Database: [GHSA-m4gq-fm9h-8q75](https://github.com/advisories/GHSA-m4gq-fm9h-8q75), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3527](https://pkg.go.dev/vuln/GO-2025-3527), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2025-0495](https://nvd.nist.gov/vuln/detail/CVE-2025-0495), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-0495 · Whole record: https://cve.day/CVE-2025-0495.json · Rebuilt by cve.day 2026-11-25T22:58:55.324Z
