BuildKit Daemon Crash in v0.26.0v0.34.1 (Fixed v0.34.2)
CVE-2026-121522 Published on November 3, 2026
Possible panic from Git source resolver
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.
Weakness Type
NULL Pointer Dereference
A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. NULL pointer dereference issues can occur through a number of flaws, including race conditions, and simple programming omissions.
Affected Versions
moby BuildKit:- Version 0.26.0 and below 0.34.2 is affected.