CVE-2026-15791
JSON

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

All scores

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

Classification

CWE-22

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

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