CVE-2026-15788

Summary

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.

Affected Software

VendorProductVersion RangeStatus
mobyBuildKit0 < 0.31.2affected

Weaknesses

  • CWE-59: CWE-59: Improper Link Resolution Before File Access ('Link Following')

Workarounds

Use trusted build sources.

References