What’s Vulnerable › Vulnerabilities
CVE-2026-15791: LLB file operation can be tricked to remove /tmp directory contents
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-21 · updated 2026-10-24
- Weakness: CWE-22
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 products
- moby BuildKit: before 0.31.2 — fixed in 0.31.2
How to fix
Upgrade to a fixed version: moby BuildKit 0.31.2. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-15791 or the next vulnerability affects your stack