Bug 2566562 (CVE-2026-121522)

Summary: CVE-2026-121522 github.com/moby/buildkit: BuildKit: Denial of Service via duplicate Git source metadata resolution
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
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, 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, 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, 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. An attacker who provides a crafted build definition can cause a Denial of Service (DoS) by crashing the BuildKit daemon. This issue occurs when a build definition resolves metadata for the same Git source reference multiple times, triggering an unhandled panic. Consequently, the daemon stops unexpectedly, interrupting all active build operations.
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: 2567063, 2567064, 2567065, 2567066, 2567067, 2567068, 2567069, 2567070, 2567071, 2567072, 2567073    
Bug Blocks:    

Description OSIDB Bzimport 2026-11-03 22:22:45 UTC
In BuildKit versions v0.26.0 through v0.34.1, a specific build definition that resolves metadata for the same Git source reference twice can cause the BuildKit daemon to panic and crash, interrupting builds handled by that daemon. The issue is fixed in v0.34.2.