CVE-2025-0495
buildx allows a possible credential leakage to telemetry endpoint in github.com/docker/buildx
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.
How to fix CVE-2025-0495
To remediate CVE-2025-0495, upgrade the affected package to a fixed version below.
- —upgrade to 0.13.1+ds1-3 or later
- —upgrade to 0.21.3 or later
- —upgrade to 0.21.3 or later
Is CVE-2025-0495 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 0.13.1+ds1-3
- from 0, < 0.21.3
- from 0, < 0.21.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |