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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | buildah +1 | 2:1.43.3-2.el9_8 | ALSA-2026:70640 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | buildah | 2:1.43.3-2.el9_8 | RLSA-2026:70640 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | runfinch-finch | 1.19.0-1.amzn2023.0.1 | ALAS2023-2026-3140 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | buildah +1 | 2:1.43.3-2.0.1.el9_8 | ELSA-2026-70640 |
Advisories 7
- RHSA-2026:62771 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:51065 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- ALSA-2026:70640 Important: buildah security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2026:66421 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- ALAS2023-2026-3140 Important: runfinch-finch security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Sep 28, 2026
- RLSA-2026:70640 Important: buildah security update Rocky Linux Security Advisories · Sep 24, 2026
- ELSA-2026-70640 Important: buildah security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Sep 24, 2026