CVE-2026-15791 LLB file operation can be tricked to remove /tmp directory contents
LowCVSS 3.3
EPSS 0.25%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- DockerUbuntu
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.
Upgrade path
10 packages: 2 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/docker.io(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/docker.io(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/docker.io(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/docker.io(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/docker.io-app(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/docker.io-app(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/docker.io-app(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/docker.io-app(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| moby BuildKit | >= 0.10.0, < 0.31.2 | 0.31.2 | Fixed |
| mobyproject buildkit | < 0.31.2 | 0.31.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| moby BuildKit | >= 0.10.0, < 0.31.2 | 0.31.2 |
| ubuntu/docker.io(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/docker.io-app(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/docker.io(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/docker.io-app(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/docker.io(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/docker.io-app(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/docker.io(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/docker.io-app(Ubuntu:26.10) | All versions | No fix listed |
| mobyproject buildkit | < 0.31.2 | 0.31.2 |
References
- github.com vendor-advisory
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2503738 issue-tracking
- www.cve.org
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory