5.6Medium

CVE-2026-15788WCOW cache mount source selector resolves NTFS junctions outside of cache root

moby BuildKit Published: (4 months ago)

Description

BuildKit's cache mount source= selector on Windows Container on Windows (WCOW) workers does not detect NTFS directory junctions placed inside the cache root. A build authored by an untrusted user on a WCOW-configured BuildKit daemon can read arbitrary host files reachable to the BuildKit daemon process.

Weakness (CWE): CWE-59

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
moby BuildKit < 0.31.2
mobyproject buildkit < 0.31.2

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:mobyproject:buildkit:*:*:*:*:*:*:*:* < 0.31.2