CVE-2026-121520 Malicious client could set xattr value outside of BuildKit state directory

Medium 4.5 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-121520?

CVE-2026-121520 is a medium-severity vulnerability in Moby BuildKit, published on 3 Nov 2026.

Official 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.

Weakness: CWE-61

Which versions are affected by CVE-2026-121520?

How do I fix CVE-2026-121520?

Upgrade to a fixed version.

Is CVE-2026-121520 being exploited?

There is no known exploitation of CVE-2026-121520 in the wild and no public exploit code.

Sources

Also known as AZL-112726, AZL-112729, AZL-112756, GHSA-w26x-xg27-7qjc, UBUNTU-CVE-2026-121520.

Is CVE-2026-121520 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free