CVE-2026-15791

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

Published Jul 21, 2026 CVSS 4.0 · 3.3 Low EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Workaround

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.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Moby
Moby buildkit
Vendors & Products Moby
Moby buildkit
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title LLB file operation can be tricked to remove /tmp directory contents
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 3.3, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Docker
Published
Updated
Jul 21, 2026, 5:08 PM
Reserved
Jul 14, 2026, 7:30 PM
Status
Analyzed
Published
Jul 21, 2026, 5:17 PM
Modified
Oct 24, 2026, 7:10 PM