Quick answers
- Is CVE-2026-15788 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-15788 being exploited in the wild.
- How severe is CVE-2026-15788?
- Informational severity, with a CVSS score of 5.6, published 20 July 2026.
- Which products and versions are affected?
- Moby Project BuildKit < 0.31.2.
- Is there a fix for CVE-2026-15788?
- A patch was published on 2026-07-20: Fix available in version 0.31.2 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-15788 attacked?
- It is attacked with local access, in a software library.
- Am I affected by CVE-2026-15788?
- Check whether you run Moby Project BuildKit at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A vulnerability exists in BuildKit's cache mount 'source=' selector when used on Windows Container on Windows (WCOW) workers. The component fails to properly detect or validate NTFS directory junctions (symbolic links) placed within the cache root. An attacker providing a malicious build definition can use these junctions to point to locations outside the intended cache directory. This allows the build process to read any file on the host system that the BuildKit daemon process has permissions to access. The issue is tracked as CWE-59 and is resolved in BuildKit version 0.31.2.
Affected products
- Moby BuildKit < 0.31.2
Timeline
- 2026-07-16: advisory: GitHub Security Advisory published by Moby project
- 2026-07-20: disclosed: NVD publication date
- 2026-07-20: patched: Fix available in version 0.31.2