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

- Severity: Medium 4.5 (CVSS:4.0, scored by Docker) `CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-11-03T22:11:57.202Z
- Modified: 2026-11-06T21:40:43.450Z
- Weaknesses: CWE-61
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Moby BuildKit: before 0.34.1

## References

- <https://github.com/moby/buildkit/security/advisories/GHSA-w26x-xg27-7qjc> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-121520](https://www.cve.org/CVERecord?id=CVE-2026-121520), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-121520](https://nvd.nist.gov/vuln/detail/CVE-2026-121520), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-121520 · Whole record: https://cve.day/CVE-2026-121520.json · Rebuilt by cve.day 2026-11-25T22:59:48.934Z
