
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-121522 is a Denial of Service vulnerability in Moby BuildKit, the toolkit for building container images, caused by a possible panic in the Git source resolver. Affecting versions v0.26.0 through v0.34.1, a crafted build definition that resolves metadata for the same Git source reference twice can trigger a panic and crash the BuildKit daemon, interrupting all builds handled by that instance. The issue was disclosed on November 3, 2026, and fixed in v0.34.2. It carries a CVSS v3.1 base score of 5.5 (Medium) and a CVSS v4.0 base score of 6.7 (Medium) (GitHub Advisory, Red Hat Bugzilla).
The root cause is classified as CWE-476 (NULL Pointer Dereference) and CWE-248 (Uncaught Exception), where the Git source resolver in BuildKit fails to handle the case where metadata for the same Git source reference is resolved more than once within a single build definition, leading to an unhandled panic. The attack vector is local, requiring user interaction (submission of a malicious build definition), with no privileges required. An attacker with the ability to submit build definitions — such as a developer or CI/CD pipeline user — can craft a Dockerfile or LLB definition that references the same Git source twice, triggering the daemon crash (GitHub Advisory, Red Hat Bugzilla).
Successful exploitation results in a crash of the BuildKit daemon, causing a Denial of Service that interrupts all builds currently handled by that daemon instance. There is no impact on confidentiality or integrity — only availability is affected. In environments where a single BuildKit daemon serves multiple users or CI/CD pipelines, a crash could disrupt all concurrent build operations until the daemon is restarted (GitHub Advisory, Red Hat Bugzilla).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.118%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires local access and the ability to submit build definitions, limiting the attack surface to trusted or semi-trusted users in build environments (GitHub Advisory).
buildkitd --version or inspecting Docker/CI configuration).ADD, COPY --from, or source steps, causing the resolver to fetch metadata for the same Git reference twice.docker build, buildctl build, or a CI/CD pipeline that uses the vulnerable BuildKit daemon.buildkitd logs or Docker daemon logs) showing a Go panic stack trace referencing the Git source resolver, followed by an unexpected daemon exit.buildkitd process without a graceful shutdown signal; all in-progress builds reporting connection errors or failures simultaneously.failed to solve: rpc error: code = Unavailable or similar gRPC connection-lost errors immediately after a build referencing duplicate Git sources is submitted.Upgrade BuildKit to v0.34.2 or later, which contains the fix for this vulnerability (GitHub Advisory). As a workaround, restrict the ability to submit build definitions to trusted users only, and avoid processing untrusted Dockerfiles or LLB definitions that reference Git sources. Auditing build definitions for duplicate Git source references before execution can also reduce risk (Red Hat Bugzilla).
The advisory was published by BuildKit maintainer tonistiigi on GitHub with a "Moderate" severity rating. Red Hat's Product Security team tracked the issue via Bugzilla with 117 CC'd users, indicating broad interest across Red Hat product lines that bundle BuildKit. No significant public social media discussion or independent researcher commentary has been observed beyond standard vulnerability aggregator coverage.
Fix availability across major Linux distributions and their releases.
bionic (esm-apps)
docker.io
devel
docker.io
focal (esm-apps)
docker.io
jammy
docker.io
jammy (esm-apps)
docker.io
noble
docker.io
noble (esm-apps)
docker.io
resolute
docker.io
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."