Bug 2566567 (CVE-2026-121520)

Summary: CVE-2026-121520 github.com/moby/buildkit: BuildKit: Privilege escalation via unauthorized extended file attribute modification
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: abarbaro, akhatavk, akoudelk, alizardo, amctagga, anjoseph, anpicker, aoconnor, aos-team-art-private, asatyam, asdas, bniver, cahl, cdrage, crizzo, dfreiber, dhanak, diagrawa, dkeler, doconnor, dpaolell, drosa, drow, dschmidt, dsimansk, dymurray, eborisov, eglynn, flucifre, gbenhaim, gmeno, gparvin, groman, gtanzill, hasun, hoberger, ibolton, ikhan, jbalunas, jburrell, jbuscemi, jchui, jdelft, jfula, jhe, jjoyce, jlanda, jmatthew, jmontleo, jowilson, jprabhak, jpretori, jschluet, jupierce, kbempah, kingland, kshier, ktsao, lball, lbragsta, lgamliel, lgarciaa, lhh, ljawale, lpele, mbenjamin, mbiarnes, mburns, mgarciac, mhackett, mnovotny, msilmser, nboldt, ngough, niyer, nyancey, oaljalju, ometelka, pgaikwad, ppalepu, ppostler, prdhamdh, psrna, ptisnovs, rbobbitt, rekumar, rhaigner, rhel-process-autobot, rjohnson, rushinde, sabiswas, sakbas, sarad, sausingh, sbratsla, sdawley, sghai, sidsharm, simaishi, slucidi, solenoci, sostapov, sprizend, sseago, stcannon, suppawar, syedriko, thason, tsze, twaugh, vereddy, veshanka, vkumar, vlaad, vvoronko, watson-tool-maintainers, wenshen, wtam, xdharmai, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in BuildKit. A client with access to the BuildKit control application programming interface (API) can submit a specially crafted build request to set extended attributes—additional metadata stored with files—on files located outside the BuildKit state directory. Manipulating these security-sensitive attributes on the host could allow an attacker to achieve privilege escalation on the underlying system.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2567089, 2567090, 2567091, 2567092, 2567093, 2567094, 2567095, 2567096, 2567097, 2567098, 2567099    
Bug Blocks:    

Description OSIDB Bzimport 2026-11-03 22:23:13 UTC
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.