CVE-2026-15788
MEDIUM
5.6
CVSS 4.0
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.
Metadata
Severity & Metrics
5.6
MEDIUM CVSS 4.0
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| moby | BuildKit | Windows | 0 < 0.31.2 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-59 | cna | CWE-59: Improper Link Resolution Before File Access ('Link Following') |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 5.6 | MEDIUM | 4.0 | cna | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |