CVE-2026-15789
JSON

6.9medium

Malicious client can bypass destination directory validation on local sources upload

Severity
6.9medium CVSS:4.0 by Docker
Exploit likelihood
0.31% (higher than 26% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Docker

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.

Affected

Product or packageVersionsReported by
moby BuildKitbefore 0.31.2CVE List
mobyproject buildkitbefore 0.31.2NVD

All scores

Docker6.9medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Un cliente personalizado puede generar una solicitud de carga de este tipo al demonio de BuildKit que los archivos pueden escapar del directorio de estado controlado por BuildKit. El cliente necesita tener permisos válidos para acceder a la API de control de BuildKit para emitir compilaciones, por ejemplo, omitir la autenticación, etc.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-15789 changed 2026-07-21CVE Terms of Use
NVDCVE-2026-15789 changed 2026-10-24Public domain