Skip to content
OpenAdvisories
High · 7.2 CVE-2026-75593 EUVD-2026-62839GHSA-wqjv-cjqw-p7p5

BuildKit: Malicious client can bypass destination directory validation on local sources upload

Published Aug 19, 2026 · Updated Aug 25, 2026 · Assigned by GitHub_M

Description

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Prior to 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 BuildKit control API to issue builds, eg., bypass authentication, etc. This issue is fixed in version 0.31.2.

Affected products

VendorProductAffectedFixed
moby buildkit < 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 1.45.0-2.hum1 RHSA-2026:51065
Red Hat Hardened Images 1 podman +4 6.0.2-2.2.hum1 RHSA-2026:52807
Red Hat Hardened Images 1 trivy 0.73.0-0.1.hum1 RHSA-2026:50953

Amazon Linux

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

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 moby-engine 25.0.3-20 —

Advisories 5

References