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.
{
"cna_assigner": "Docker",
"cwe_ids": [
"CWE-22"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/15xxx/CVE-2026-15791.json"
}{
"extracted_events": [
{
"introduced": "0.10.0"
},
{
"fixed": "0.31.2"
},
{
"cpe": "cpe:2.3:a:mobyproject:buildkit:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.31.2"
}
],
"source": "CPE_RANGE"
}
],
"source": "AFFECTED_FIELD"
}