Live threats

All CVEs / docker

CVE-2025-0495docker buildx

Medium 4.1

Priority
25
CVSS 4.0
4.1
EPSS
0.3%
probability of exploitation in 30 days · percentile 14
Auth required
Yes
Published
Mar 17, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-532
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
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/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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for buildx.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/docker/buildx < 0.21.3 0.21.3 go get github.com/docker/buildx@v0.21.3
Go github.com/docker/buildx < 0.21.3 0.21.3 go get github.com/docker/buildx@v0.21.3

Per OSV / GitHub Advisories (GHSA-m4gq-fm9h-8q75, GO-2025-3527). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Also: SUSE (+2)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.