What’s Vulnerable › Vulnerabilities
CVE-2026-15789: Malicious client can bypass destination directory validation on local sources upload
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-21 · updated 2026-10-24
- Weakness: CWE-22
Description
A custom client can produce such an upload request to the BuildKit daemon that files can escape from the BuildKit-controlled state directory. The client needs to have valid permissions to access the BuildKit control API to issue builds, e.g., bypass authentication, etc.
Affected products
- moby BuildKit: before 0.31.2 — fixed in 0.31.2
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-15789 or the next vulnerability affects your stack