Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-93322 Overview
CVE-2026-93322 affects the Moby BuildKit daemon (buildkitd), a toolkit for converting source code into container images. A malicious frontend can submit a Low-Level Builder (LLB) definition crafted to trigger a panic in the daemon. The panic terminates the buildkitd process and interrupts every build currently running on that daemon. The weakness is classified under CWE-129: Improper Validation of Array Index. The issue is tracked in GitHub Security Advisory GHSA-cv6p-7w7g-xjwq and fixed in BuildKit v0.33.1.
Critical Impact
A single malicious LLB submission crashes buildkitd, halting all concurrent builds and disrupting continuous integration pipelines that depend on the shared daemon.
Affected Products
- Moby BuildKit (buildkitd) versions prior to v0.33.1
- Container build pipelines using BuildKit frontends that accept untrusted LLB input
- CI/CD systems embedding BuildKit as a shared build service
Discovery Timeline
- 2026-10-05 - CVE-2026-93322 published to NVD
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-93322
Vulnerability Analysis
BuildKit uses an intermediate representation called Low-Level Builder (LLB) that frontends submit to buildkitd for execution. The daemon parses and validates these LLB graphs before scheduling build steps. A malicious frontend can submit a crafted LLB definition that reaches an index-validation gap during processing. The resulting condition causes the daemon to panic and terminate.
Because buildkitd typically services multiple concurrent builds, a single malicious submission interrupts every in-flight build on that daemon. This denial-of-service impact extends to shared build infrastructure where tenants trust the daemon with their work. The vulnerability maps to [CWE-129], indicating that an array or slice index derived from attacker-controlled input is not properly validated before use.
Root Cause
The daemon fails to validate an index derived from fields in the submitted LLB structure. When the index falls outside expected bounds, the Go runtime raises a panic that is not recovered by the request handler. The panic unwinds through the daemon goroutines and terminates the process.
Attack Vector
An attacker must have the ability to submit an LLB definition to buildkitd, typically through a frontend such as Dockerfile, custom frontend images, or a build API. Local access to the daemon socket or an exposed build endpoint is sufficient. No authentication beyond standard build submission is required, and no user interaction is needed on the daemon host.
The vulnerability mechanism is described in the upstream advisory. See the GHSA-cv6p-7w7g-xjwq advisory for technical details on the affected LLB parsing path.
Detection Methods for CVE-2026-93322
Indicators of Compromise
- Unexpected buildkitd process termination accompanied by Go panic stack traces in daemon logs
- Simultaneous failure of multiple concurrent builds on the same host with transport or connection-reset errors
- CI job logs showing repeated build failures tied to a single BuildKit instance recovering from crashes
Detection Strategies
- Monitor buildkitd service exit codes and restart counts through systemd or container orchestrator events
- Alert on Go runtime panic signatures emitted to buildkitd stderr or journald
- Correlate build submissions from untrusted frontends with daemon crash timestamps to identify malicious LLB payloads
Monitoring Recommendations
- Collect buildkitd logs centrally and retain stack traces for post-incident analysis
- Track build success rate and daemon uptime as service-level indicators for shared build infrastructure
- Audit which frontend images and submitters interact with each BuildKit daemon to scope potential abuse
How to Mitigate CVE-2026-93322
Immediate Actions Required
- Upgrade buildkitd to BuildKit v0.33.1 or later on all build hosts
- Restrict access to the BuildKit daemon socket and API to trusted users and automation accounts
- Restart dependent CI runners and container build services after upgrading to clear cached clients
Patch Information
The fix is included in Moby BuildKit v0.33.1. Operators running BuildKit as a standalone daemon, as a Docker Engine component, or embedded in buildx should update to this version. Review the v0.33.1 release notes for upgrade guidance and compatibility notes.
Workarounds
- Disallow untrusted or third-party frontend images by pinning to known-good frontend references
- Isolate multi-tenant builds onto per-tenant buildkitd instances so a crash affects only one tenant
- Supervise buildkitd with automatic restart policies to reduce the duration of denial-of-service impact until patching completes
# Verify installed BuildKit version and upgrade
buildkitd --version
# Example: pull patched release image
docker pull moby/buildkit:v0.33.1
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

