Vulnerability · Published Jul 21, 2026 · Assigned by Docker

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

Medium 6.9

In plain English

A medium-severity path traversal in BuildKit from moby. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.9Medium
Exploit odds (30 days)0.3%top 75.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9buildah2:1.43.3-2.el9_8ALSA-2026:70640
AlmaLinux:9buildah-tests2:1.43.3-2.el9_8ALSA-2026:70640
Rocky Linux:9buildah2:1.43.3-2.el9_8RLSA-2026:70640

Affected products (as reported)

VendorProductVersions
moby BuildKit 0 – before 0.31.2

Weakness: CWE-22 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

References