CVE-2026-15788
JSON

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 packageVersionsReported by
moby BuildKitbefore 0.31.2CVE List
mobyproject buildkitbefore 0.31.2NVD

All scores

Docker5.6medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-59

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

SourceRecordLicence
CVE ListCVE-2026-15788 changed 2026-07-21CVE Terms of Use
NVDCVE-2026-15788 changed 2026-10-24Public domain