3.3low
LLB file operation can be tricked to remove /tmp directory contents
- Severity
- 3.3low CVSS:4.0 by Docker
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Docker
Description
A crafted message in the BuildKit low-level build API can be used to remove the contents of the /tmp directory. The action that can normally be used to delete files inside the build container rootfs can escape into the real host temp directory.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| moby BuildKit | from 0.10.0 before 0.31.2 | CVE List |
| mobyproject buildkit | before 0.31.2 | NVD |
All scores
| Docker | 3.3low CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:L/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 crafted message in the BuildKit low-level build API can be used to remove the contents of the /tmp directory. The action that can normally be used to delete files inside the build container rootfs can escape into the real host temp directory.
NVD (es)
Un mensaje manipulado en la API de compilación de bajo nivel de BuildKit puede ser utilizado para eliminar el contenido del directorio /tmp. La acción que normalmente puede ser utilizada para eliminar archivos dentro del rootfs del contenedor de compilación puede escapar al directorio temporal real del host.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-15791 changed 2026-07-21 | CVE Terms of Use |
| NVD | CVE-2026-15791 changed 2026-10-24 | Public domain |