Path traversal in BuildKit - CVE-2026-15789
Published: November 18, 2026
Vulnerability details
The vulnerability allows a remote user to write files outside the BuildKit-controlled state directory.
The vulnerability exists due to improper pathname restriction in the BuildKit daemon's local source upload handling when validating destination directories. A remote user can submit a crafted upload request through a custom client with permission to issue builds through the control API to place files outside the intended directory.