CVE-2026-15789
buildkit: github.com/moby/buildkit: BuildKit: File escape vulnerability
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 22, 2026
Updated · November 4, 2026
Description
A flaw was found in BuildKit. A custom client with valid permissions to access the BuildKit control API can produce an upload request that allows files to escape from the BuildKit-controlled state directory. This could lead to unauthorized modification or disclosure of sensitive data.
Statement
This Moderate impact flaw in BuildKit allows a custom client with valid permissions to the BuildKit control API to escape files from the BuildKit-controlled state directory. This vulnerability requires an attacker to already possess the necessary access to the BuildKit daemon, limiting the attack surface to environments where the control API is exposed or compromised.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory