{"id":"CVE-2025-0495","published":"2025-03-17T19:21:11Z","modified":"2025-03-18T16:25:42Z","title":"Secrets leakage to telemetry endpoint via cache backend configuration via buildx","vendor":"docker","product":"buildx","tier":"tail","description":{"text":"Buildx is a Docker CLI plugin that extends build capabilities using BuildKit.\n\nCache 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.\n\n\nThis vulnerability does not impact secrets passed to the Github cache backend via environment variables or registry authentication.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.1,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00196,"percentile":0.0948,"provenance":"source"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"references":[{"url":"https://github.com/docker/buildx","tags":[]}],"priority":{"score":4.8,"factors":[{"name":"EPSS percentile","points":1.9},{"name":"CVSS severity","points":2.87}]},"vendorSlug":"docker","affectedVersions":[{"vendor":"docker","product":"buildx","versions":["<= 0.21.2"]}],"capec":[{"id":"CAPEC-21","name":"Exploitation of Trusted Identifiers"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-18T16:25:23.455442Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/docker/buildx","vulnerableRanges":["<0.21.3"],"patched":["0.21.3"],"from":["GHSA-m4gq-fm9h-8q75","GO-2025-3527"],"provenance":"source"}],"summary":{"text":"The Docker buildx CLI plugin can leak credentials supplied as attribute values in cache-to or cache-from configuration, because those secrets may be captured in OpenTelemetry traces and saved in BuildKit daemon history records. An attacker with local access to the system, low privileges, and the victim's involvement in running a build with such cache configuration could obtain the exposed secrets; the GitHub cache backend when secrets are passed via environment variables or registry authentication is not affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:25Z"},"euvd":{"id":"EUVD-2025-6497","exploited":false,"provenance":"source"}}