5.6medium
WCOW cache mount source selector resolves NTFS junctions outside of cache root
- Severity
- 5.6medium CVSS:4.0 by Docker
- Exploit likelihood
- 0.27% (higher than 21% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Docker
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
| Product or package | Versions | Reported by |
|---|---|---|
| moby BuildKit | before 0.31.2 | CVE List |
| mobyproject buildkit | before 0.31.2 | NVD |
All scores
| Docker | 5.6medium 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 |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
El selector source= de montaje de caché de BuildKit en trabajadores de Contenedor de Windows (WCOW) no detecta uniones de directorio NTFS colocadas dentro de la raíz de la caché. Una compilación creada por un usuario no confiable en un demonio de BuildKit configurado para WCOW puede leer archivos arbitrarios del host accesibles para el proceso del demonio de BuildKit.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-15788 changed 2026-07-21 | CVE Terms of Use |
| NVD | CVE-2026-15788 changed 2026-10-24 | Public domain |