CVE-2026-15789: Malicious client can bypass destination directory validation on local sources upload
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-15789?
The severity of CVE-2026-15789 is classified as medium with a score of 6.9.
How do I fix CVE-2026-15789?
To fix CVE-2026-15789, ensure that proper validation checks are implemented on the BuildKit daemon for destination directory paths.
What type of vulnerability is CVE-2026-15789?
CVE-2026-15789 is a Path Traversal vulnerability allowing file uploads to escape from the intended directory.
Who is affected by CVE-2026-15789?
Users of the BuildKit daemon who allow uploads from custom clients with valid permissions are affected by CVE-2026-15789.
What are the potential impacts of CVE-2026-15789?
The potential impacts include unauthorized access to files outside the BuildKit-controlled state directory, posing security risks.