Security mailing lists by PureSourceCode

CVE-2025-0495

MEDIUM 4.1CVSS 4.0

buildx allows a possible credential leakage to telemetry endpoint

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.

Published
17 Mar 2025
Last modified
10 Sep 2026
Assigned by
security@docker.com
NVD status
Deferred
Weakness
CWE-532
Also known as
GHSA-m4gq-fm9h-8q75GO-2025-3527
Sources
NVDJSONOSV GHSA-m4gq-fm9h-8q75JSONOSV GO-2025-3527JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@docker.com (Secondary) CVSS 4.0 MEDIUM 4.1 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub 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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/docker/buildx < 0.21.3 0.21.3

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 17 Mar 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Mar 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Mar 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.