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.
Published: 2026-11-03
Score: 4.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

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

History

Wed, 04 Nov 2026 02:15:00 +0000

Type Values Removed Values Added
First Time appeared Moby
Moby buildkit
Vendors & Products Moby
Moby buildkit

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

{'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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Docker

Published:

Updated: 2026-11-03T22:11:57.202Z

Reserved: 2026-11-03T14:26:45.909Z

Link: CVE-2026-121520

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-03T23:17:34.177

Modified: 2026-11-03T23:17:34.177

Link: CVE-2026-121520

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-04T09:00:16Z

Weaknesses