What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: moby BuildKit 0.31.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-15788 or the next vulnerability affects your stack