Secrets leakage to telemetry endpoint via cache backend configuration via buildx
Summary
Secrets leakage to telemetry endpoint via cache backend configuration via buildx
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2025-0495 docker-buildx Fixed in: 0.13.1+ds1-3
- Ubuntu UBUNTU-CVE-2025-0495 docker-buildx
References
- advisory github.com
- advisory nvd.nist.gov
- package github.com