Skip to content
4.5 Medium

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

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.

CVSS 4.0 detail

Vector 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

Exploitable with local access to the machine, with an administrator account and without any user action; with no direct impact on the vulnerable system.

Attack vector
Local
Attack complexity
Low
Attack requirements
Present
Privileges required
High
Interaction
None
Confidentiality
None
Integrity
None
Availability
None
Confidentiality of other systems
None
Integrity of other systems
High
Availability of other systems
High

Affected products and versions

Product Affected versions Fixed in
buildkit 0.34 earliest → < 0.34.1 0.34.1

References

Timeline

  1. Published
  2. Last modified
The 27 CVEs of buildkit →
Track this CVE