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.
Project Subscriptions
No data.
Advisories
No advisories yet.
Fixes
Solution
Upgrade BuildKit to v0.34.1 or later.
Workaround
Restrict access to BuildKit control APIs to trusted clients and do not accept build requests from untrusted users.
References
History
Tue, 03 Nov 2026 22:30:00 +0000
| 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
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: Docker
Published:
Updated: 2026-11-03T22:11:57.202Z
Reserved: 2026-11-03T14:26:45.909Z
Link: CVE-2026-121520
No data.
Status : Received
Published: 2026-11-03T23:17:34.177
Modified: 2026-11-03T23:17:34.177
Link: CVE-2026-121520
No data.
OpenCVE Enrichment
No data.
Weaknesses