CVE-2025-0495 Secrets leakage to telemetry endpoint via cache backend configuration via buildx
MediumCVSS 4.1
EPSS 0.20%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| docker github.com/docker/buildx(Go) | < 0.21.3 | 0.21.3 |
| azure linux docker-buildx(Azure Linux:3.0) | < 0.14.0-5 | 0.14.0-5 |
| cbl-mariner moby-buildx(CBL-Mariner:2.0) | < 0.7.1-25 | 0.7.1-25 |
| debian/docker-buildx(Debian:13) | < 0.13.1+ds1-3 | 0.13.1+ds1-3 |
| debian/docker-buildx(Debian:14) | < 0.13.1+ds1-3 | 0.13.1+ds1-3 |
| docker github.com/docker/buildx(Go) | <= 0.21.2 | No fix listed |
| docker github.com/docker/buildx | <= 0.21.2 | No fix listed |
| ubuntu/docker-buildx(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/docker-buildx(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/docker-buildx(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/docker-buildx(Ubuntu:26.10) | All versions | No fix listed |
References
- github.com vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-0495 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking