CVE-2026-15791

published 21 Jul 2026 · updated 21 Jul 2026

LLB file operation can be tricked to remove /tmp directory contents

3.3LowCVSS 3.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.31.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Moby>=0.10.0 <0.31.20.31.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-15791 severity on Zeptric[![CVE-2026-15791](https://zeptric.io/badge/cve/CVE-2026-15791.svg)](https://zeptric.io/cve/CVE-2026-15791)