Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-15789 EUVD-2026-46309

Malicious client can bypass destination directory validation on local sources upload

Published Jul 21, 2026 · Updated Jul 21, 2026 · 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 products

VendorProductAffectedFixed
moby BuildKit < 0.31.2 0.31.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 buildah 2:1.45.0-2.hum1 RHSA-2026:51065
Red Hat Hardened Images 1 podman +4 5:6.0.2-2.3.hum1 RHSA-2026:62771
Red Hat Hardened Images 1 trivy 0.74.0-0.2.hum1 RHSA-2026:66421

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 buildah +1 2:1.43.3-2.el9_8 ALSA-2026:70640

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 buildah 2:1.43.3-2.el9_8 RLSA-2026:70640

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 runfinch-finch 1.19.0-1.amzn2023.0.1 ALAS2023-2026-3140

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 buildah +1 2:1.43.3-2.0.1.el9_8 ELSA-2026-70640

Advisories 7

References