Skip to content
OpenAdvisories
Medium · 4.5 CVE-2026-121520 EUVD-2026-116538

Malicious client could set xattr value outside of BuildKit state directory

Published Nov 3, 2026 · Updated Nov 6, 2026 · Assigned by Docker

Description

In BuildKit versions prior to v0.34.1, a malicious client with access to the BuildKit control APIs can submit a build request that sets an extended attribute on a file outside the BuildKit state directory. Extended attributes in the trusted. or security. namespaces may also be set, potentially giving a program on the host elevated privileges. This issue affects build services that accept build requests from untrusted users. The issue is fixed in v0.34.1.

Affected products

VendorProductAffectedFixed
Moby BuildKit < 0.34.1 0.34.1

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
Ubuntu 26.10 docker.io +1 No fix yet —
Ubuntu 26.04 LTS docker.io +1 No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS docker.io +1 No fix yet —
Ubuntu Pro 22.04 LTS docker.io +1 No fix yet —
Ubuntu Pro 20.04 LTS docker.io +1 No fix yet —
Ubuntu Pro 18.04 LTS docker.io No fix yet —
Ubuntu Pro 16.04 LTS docker.io No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 podman +4 5:6.1.4-1.3.hum1 RHSA-2026:95611

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 moby-engine +2 No fix yet —

Advisories 2

References