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

- Severity: Low 3.3 (CVSS:4.0, scored by Docker) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-07-21T16:10:20.881Z
- Modified: 2026-10-24T19:10:00.127Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Docker

## 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.

(As written by CVE List.)

## Affected

- moby BuildKit: from 0.10.0 before 0.31.2
- mobyproject buildkit: before 0.31.2

## Every score

- Docker: CVSS:4.0 3.3 Low `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/moby/buildkit/security/advisories/GHSA-32pv-7hq5-qhwq> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-15791](https://www.cve.org/CVERecord?id=CVE-2026-15791), CVE Terms of Use, modified 2026-07-21
- NVD: [CVE-2026-15791](https://nvd.nist.gov/vuln/detail/CVE-2026-15791), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-15791 · Whole record: https://cve.day/CVE-2026-15791.json · Rebuilt by cve.day 2026-11-25T22:59:29.357Z
