6.9Medium

CVE-2026-15789Malicious client can bypass destination directory validation on local sources upload

moby BuildKit Published: (4 months ago)

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.

Weakness (CWE): CWE-22

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
moby BuildKit < 0.31.2
mobyproject buildkit < 0.31.2

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:mobyproject:buildkit:*:*:*:*:*:*:*:* < 0.31.2