CVE-2025-0495CWE-532

Secrets leakage to telemetry endpoint via cache backend configuration via buildx

Medium · published March 17, 2025

CVSS v4.0
4.1
EPSS
0%
Percentile
8.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
4.1 · MEDIUM
Vector
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
EPSS
0.00196 · 8.8th percentile
Weakness
CWE-532 · Insertion of Sensitive Information into Log File
Published
2025-03-17T19:21Z
EPSS history
Timeline
  • 17 MAR 19:21Z
    Secrets leakage to telemetry endpoint via cache backend configuration via buildx
    cvelistv5