CVE-2026-15788

WCOW cache mount source selector resolves NTFS junctions outside of cache root

State
Published
Severity
5.6 Medium
Published
Jul 20, 2026
Updated
Jul 21, 2026
Reserved
Jul 14, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.6 MediumCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NDocker

Weaknesses

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

Affected Products

ProductVersions
BuildKitmoby
  • before 0.31.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.