6.9medium
Malicious client can bypass destination directory validation on local sources upload
- Severity
- 6.9medium CVSS:4.0 by Docker
- Exploit likelihood
- 0.31% (higher than 26% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Docker
Description
A custom client can produce such an upload request to the BuildKit daemon that files can escape from the BuildKit-controlled state directory. The client needs to have valid permissions to access the BuildKit control API to issue builds, e.g., bypass authentication, etc.
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 | 6.9medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/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:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
A custom client can produce such an upload request to the BuildKit daemon that files can escape from the BuildKit-controlled state directory. The client needs to have valid permissions to access the BuildKit control API to issue builds, e.g., bypass authentication, etc.
NVD (es)
Un cliente personalizado puede generar una solicitud de carga de este tipo al demonio de BuildKit que los archivos pueden escapar del directorio de estado controlado por BuildKit. El cliente necesita tener permisos válidos para acceder a la API de control de BuildKit para emitir compilaciones, por ejemplo, omitir la autenticación, etc.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-15789 changed 2026-07-21 | CVE Terms of Use |
| NVD | CVE-2026-15789 changed 2026-10-24 | Public domain |