CVE-2026-15788 Details
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.
A vulnerability exists in Docker BuildKit versions prior to 0.31.2 when using Windows Containers on Windows (WCOW) workers. The issue arises because the cache mount source selector does not recognize NTFS directory junctions within the cache root. As a result, a build created by an untrusted user on a WCOW-configured BuildKit daemon can access arbitrary host files that the BuildKit daemon process can reach.
Users can upgrade to BuildKit version 0.31.2 or later to address this vulnerability. It is also recommended to use trusted build sources.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/moby/buildkit/security/advisories/GHSA-388v-wmr2-g2v2 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mobyproject buildkit | < 0.31.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 24, 2026 | CVE Translated | [email protected] |
| Aug 5, 2026 | Initial Analysis | [email protected] |
| Jul 21, 2026 | CVE Modified | CISA-ADP |
| Jul 20, 2026 | New CVE Received | [email protected] |