CVE-2025-0495
MEDIUM 4.1CVSS 4.0buildx 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
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/docker/buildx | < 0.21.3 | 0.21.3 |
References
- https://github.com/docker/buildx · PACKAGE
- https://github.com/docker/buildx/security/advisories/GHSA-m4gq-fm9h-8q75 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-0495 · ADVISORY
- https://github.com/docker/buildx/commit/18ccba072076ddbfb0aeedd6746d7719b0729b58 · WEB, FIX
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)