CVE-2026-15789

published 21 Jul 2026 · updated 21 Jul 2026

Malicious client can bypass destination directory validation on local sources upload

6.9MediumCVSS 6.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.31.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Moby<0.31.20.31.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-15789 severity on Zeptric[![CVE-2026-15789](https://zeptric.io/badge/cve/CVE-2026-15789.svg)](https://zeptric.io/cve/CVE-2026-15789)