Skip to main content
VulnerabilityPublished Updated

CVE-2025-0495: Docker buildx · Cache backends support credentials by setting secrets directly as attribute values in

Affects docker-buildxSource GCVE Database

0
Compare

Not known to be exploited · CVSS 4.1 Medium.

Data as of 24 Nov 2026, 19:43 UTC

CVSS 4.0 base score
4.1Medium
How severe the flaw is on the 0–10 CVSS scale.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Mar 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10docker-buildxpkg:deb/ubuntu/docker-buildx?arch=source&distro=stonkingOther threatsAffected
  • =0.30.1-0ubuntu1
  • =0.36.1-0ubuntu1
Fixed in–
Ubuntu 26.04 LTSdocker-buildxpkg:deb/ubuntu/docker-buildx?arch=source&distro=resoluteOther threatsAffected
  • =0.21.3-0ubuntu1
  • =0.30.1-0ubuntu1
Fixed in–
Ubuntu 25.10docker-buildxpkg:deb/ubuntu/docker-buildx?arch=source&distro=questingOther threatsAffected
  • =0.20.1-0ubuntu1
  • =0.21.3-0ubuntu1
  • =0.30.1-0ubuntu1~25.10.1
Fixed in–
Ubuntu 24.04 LTSdocker-buildxpkg:deb/ubuntu/docker-buildx?arch=source&distro=nobleOther threatsAffected
  • 0.11.2-0ubuntu2 – 0.30.1-0ubuntu1~24.04.1
10 affected builds
Fixed in–
Ubuntu 22.04 LTSdocker-buildxpkg:deb/ubuntu/docker-buildx?arch=source&distro=jammyOther threatsAffected
  • 0.11.2-0ubuntu1~22.04.1 – 0.30.1-0ubuntu1~22.04.1
9 affected builds
Fixed in–
Ubuntu 20.04 LTSdocker-buildxpkg:deb/ubuntu/docker-buildx?arch=source&distro=focalOther threatsAffected
  • 0.11.2-0ubuntu1~20.04.1 – 0.14.1-0ubuntu1~20.04.1
5 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…