CVE-2026-15791: BuildKit - Path Traversal
- Cve: CVE-2026-15791
- Name: BuildKit - Path Traversal
- 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.
- Impact: Attackers can delete files in the host /tmp directory, potentially disrupting system operations or causing denial of service.
- Remediation: Update to the latest version of BuildKit.
- Vulnerability type: path_traversal
- Vulnerability impact: denial_of_service, file_system_write
- Requirements: Attacker needs access to the BuildKit low-level build API
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.00249
- Epss percentile: 0.16119
- Assignee: [email protected]
- Published at: 2026-07-21T17:17:04Z
- Age in days: 126
- Modified at: 2026-10-24T19:10:00Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-15791
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/moby/buildkit/security/advisories/GHSA-32pv-7hq5-qhwq | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mobyproject:buildkit | < 0.31.2 | no | nvd | /v1/products/mobyproject/buildkit |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| moby/buildkit | security_advisory | yes | /v1/repositories/moby/buildkit |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts