{"id":"CVE-2026-15791","published":"2026-07-21T16:10:20Z","modified":"2026-07-21T17:08:54Z","title":"LLB file operation can be tricked to remove /tmp directory contents","vendor":"moby","product":"BuildKit","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.3,"severity":"LOW","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00377,"percentile":0.23572,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/moby/buildkit/security/advisories/GHSA-32pv-7hq5-qhwq","tags":["vendor-advisory"]}],"priority":{"score":7.0,"factors":[{"name":"EPSS percentile","points":4.71},{"name":"CVSS severity","points":2.31}]},"vendorSlug":"moby","affectedVersions":[{"vendor":"moby","product":"BuildKit","versions":[">= 0.10.0, < 0.31.2"]}],"workarounds":{"items":["The issue only affects the low-level API and can not be reached when building Dockerfiles. Using a custom BuildKit frontend would be needed to make such a crafted request."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-126","name":"Path Traversal"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-21T17:08:27.783462Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-46310","exploited":false,"provenance":"source"}}