Technical impact
BuildKit versions v0.26.0 through v0.34.1 contain a bug where a build definition that resolves metadata for the same Git source reference twice can trigger a panic, causing the BuildKit daemon to crash and interrupt builds. This flaw is a null pointer dereference (CWE‑476) and results in a denial of service, affecting any build processes handled by the daemon.
Affected Systems
The affected product is Moby BuildKit, specifically versions 0.26.0 through 0.34.1. Users running these releases are susceptible, while later releases (starting at 0.34.2) are not vulnerable.
Risk and Exploitability
The CVSS score of 6.7 indicates a moderate severity. The EPSS score is less than 1%, indicating a very low but non‑zero exploitation probability, and the vulnerability is not listed in CISA’s KEV catalog, suggesting a lower observed exploitation rate. The problem is triggered by a specific build definition that requires Git metadata resolution; therefore the attack vector is most likely from a local or semi‑trusted build environment where an attacker can supply malicious build definitions. In environments that ingest untrusted definitions, the risk is higher. The daemon crash results in a temporary denial of service for all builds processed by that daemon until it is restarted.