What’s Vulnerable › Vulnerabilities

CVE-2026-15791: LLB file operation can be tricked to remove /tmp directory contents

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

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