{"id":"CVE-2026-121520","state":"PUBLISHED","title":"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.","publishedAt":"2026-11-03T22:11:57.202Z","updatedAt":"2026-11-06T19:31:00.151Z","severity":{"score":4.5,"label":"Medium","version":"4.0","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","source":"Docker"},"assigner":"Docker","products":["Moby BuildKit"],"affected":[{"vendor":"Moby","product":"BuildKit","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.34.1","versionType":"semver"}],"repo":"https://github.com/moby/buildkit"}],"references":["https://github.com/moby/buildkit/security/advisories/GHSA-w26x-xg27-7qjc"],"weaknesses":["CWE-61"],"ingestedAt":"2026-11-06T19:40:06.432Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/121xxx/CVE-2026-121520.json","commit":"074384ed49533fadca8dbc712879a47cf20cb41a","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-121520","state":"PUBLISHED","datePublished":"2026-11-03T22:11:57.202Z","dateUpdated":"2026-11-06T19:31:00.151Z","assignerShortName":"Docker","assignerOrgId":"686469e6-3ff6-451b-ab8b-cf5b9e89401e","dateReserved":"2026-11-03T14:26:45.909Z"},"containers":{"cna":{"title":"Malicious client could set xattr value outside of BuildKit state directory","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Moby","product":"BuildKit","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.34.1","versionType":"semver"}],"repo":"https://github.com/moby/buildkit"}],"references":[{"url":"https://github.com/moby/buildkit/security/advisories/GHSA-w26x-xg27-7qjc","tags":["vendor-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"Host security-label modification"}],"cvssV4_0":{"version":"4.0","vectorString":"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","baseScore":4.5,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-61","description":"CWE-61: UNIX Symbolic Link (Symlink) Following","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Docker","orgId":"686469e6-3ff6-451b-ab8b-cf5b9e89401e","dateUpdated":"2026-11-03T22:11:57.202Z"},"source":{"discovery":"EXTERNAL"},"solutions":[{"lang":"en","value":"Upgrade BuildKit to v0.34.1 or later."}],"workarounds":[{"lang":"en","value":"Restrict access to BuildKit control APIs to trusted clients and do not accept build requests from untrusted users."}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-06T19:30:46.298631Z","id":"CVE-2026-121520","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-06T19:31:00.151Z"}}]}}}