What’s Vulnerable › Vulnerabilities
CVE-2025-0495: Secrets leakage to telemetry endpoint via cache backend configuration via buildx
- Severity: medium (CVSS 4.1 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-03-17 · updated 2026-06-17
- Weakness: CWE-532
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
- docker buildx: through 0.21.2
References
Get alerted when CVE-2025-0495 or the next vulnerability affects your stack