CVE-2025-0495
Secrets leakage to telemetry endpoint via cache backend configuration via buildx
- State
- Published
- Severity
- 4.1 Medium
- Published
- Mar 17, 2025
- Updated
- Mar 18, 2025
- Reserved
- Jan 15, 2025
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.1 Medium | 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 | Docker |
Weaknesses
- CWE-532 Insertion of Sensitive Information into Log File
Affected Products
| Product | Versions |
|---|---|
buildxdocker |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.