CVE-2026-121520

Malicious client could set xattr value outside of BuildKit state directory

Published Nov 3, 2026 CVSS 4.0 · 4.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Solution

Upgrade BuildKit to v0.34.1 or later.


Vendor Workaround

Restrict access to BuildKit control APIs to trusted clients and do not accept build requests from untrusted users.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-22
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.9, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H'}

threat_severity

Important

Type Values Removed Values Added
First Time appeared Moby
Moby buildkit
Vendors & Products Moby
Moby buildkit
Type Values Removed Values Added
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.
Title Malicious client could set xattr value outside of BuildKit state directory
Weaknesses CWE-61
References
Metrics cvssV4_0

{'score': 4.5, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Docker
Published
Updated
Nov 6, 2026, 7:31 PM
Reserved
Nov 3, 2026, 2:26 PM
Status
Awaiting Analysis
Published
Nov 3, 2026, 11:17 PM
Modified
Nov 6, 2026, 9:40 PM
Severity
Important
Public date
Nov 3, 2026, 10:11 PM