ADVISORIES

Vulnerability

CVE-2025-0495

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.

26 advisories report this vulnerability, across 8 ecosystems.

Advisories in Go

  • GHSA-m4gq-fm9h-8q75

    buildx allows a possible credential leakage to telemetry endpoint

    Moderate CVE-2025-0495 Go Updated 10 September 2026
  • GO-2025-3527

    buildx allows a possible credential leakage to telemetry endpoint in github.com/docker/buildx

    CVE-2025-0495 Go Updated 4 February 2026

References