Skip to main content

Moby BuildKit CVE-2026-121522

| EUVDEUVD-2026-116537 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-11-03 security@docker.com
6.7
CVSS 4.0 · Vendor: docker
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious build definition with duplicate Git source ref
  2. Delivery
    Victim/CI submits build to BuildKit daemon
  3. Exploit
    Daemon resolves same Git metadata twice
  4. Execution
    Null pointer dereference panics daemon
  5. Impact
    Build service crashes, in-flight builds interrupted

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the BuildKit daemon to process a build definition that resolves metadata for the same Git source reference twice - i.e., a build using Git dependencies structured to trigger the duplicate resolution path. Per the vendor, only very specific Git-dependency builds are affected, and avoiding untrusted build definitions is sufficient to avoid the issue. Limiting factors: the attack is local to the daemon (AV:L) and requires active user interaction (UI:A) - someone must submit/run the crafted definition - so it is not remotely self-triggering; impact is confined to availability (daemon panic) with no data exposure or code execution. The only complete fix is upgrading to v0.34.2.

Impact

This is a denial-of-service issue (CWE-476 null pointer dereference) in Moby BuildKit that crashes the build daemon; impact is availability only, with no confidentiality or integrity loss (CVSS 4.0 VC:N/VI:N/VA:H, score 6.7). The vendor-supplied CVSS 4.0 vector is local (AV:L) and requires active user interaction (UI:A), meaning the crash is triggered when the daemon processes a crafted build definition rather than through a remote unauthenticated path - so despite PR:N, exploitation is gated on getting a malicious build definition executed. No CISA KEV listing and no EPSS score were provided in the input, and no exploit/PoC reference beyond the GHSA advisory is present, so exploitation status is 'no public exploit identified at time of analysis.' The vuln.today priority is 'this_month' (not act_now/emergency), consistent with a self-contained DoS that needs attacker-influenced input. Net: this is a real but bounded availability risk - prioritize patching in normal maintenance, not as an emergency, since there is no data integrity/RCE angle and exploitation depends on processing an untrusted build definition.

Exploit ScenarioDerived

An attacker supplies or convinces a victim to build an untrusted build definition (e.g., a malicious Dockerfile/LLB that resolves metadata for the same Git source reference twice). When the BuildKit daemon processes it, the Git source resolver dereferences a null pointer and panics, crashing the daemon and interrupting all builds it was handling. No public exploit code is identified; only the GHSA advisory is referenced.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 03, 2026

Denial of service in Moby BuildKit v0.26.0 through v0.34.1 allows a crafted build definition that resolves metadata for the same Git source reference twice to panic the BuildKit daemon, interrupting builds handled by that daemon. The CVSS 4.0 vector indicates local attack (AV:L), no privileges required (PR:N), and active user interaction (UI:A), with impact limited to availability (VC:N/VI:N/VA:H). The vendor fixed the flaw in v0.34.2; no public exploit was identified at time of analysis, and the vendor notes only very specific builds using Git dependencies are affected.

RemediationAI

Vendor-released patch: upgrade BuildKit to v0.34.2 or later; this is the only complete fix per the assessment. The vendor states that only very specific builds using Git dependencies should be affected and that avoiding untrusted build definitions should be enough to avoid the issue, so as a compensating control restrict who can submit build definitions and avoid running untrusted definitions - with the trade-off that this limits build functionality for Git-dependent builds. Advisory: https://github.com/moby/buildkit/security/advisories/GHSA-2fqp-xg6f-v7gj.

Affected VersionsENISA

buildkit 0.26.0 <0.34.2

Affected Packages

euvd buildkit fix: 0.34.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a CWE-476 null pointer dereference in BuildKit's Git source resolver. Per the GHSA advisory, a specific build definition that resolves metadata for the same Git source reference twice can create the conditions for a daemon panic. The supplied sources do not describe the exact code path or the precise malformed build definition beyond the duplicate metadata resolution; the trigger is not described in further detail. The affected component is the BuildKit daemon handling Git dependencies, and the CVSS 4.0 vector records availability-only impact (VA:H) with no confidentiality or integrity effect. Fixed in v0.34.2.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (docker) PRIMARY 6.7 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.5 MEDIUM

The daemon locally processes an attacker-crafted build definition that a user must run (AV:L, UI:R), needing no prior privilege (PR:N); impact is a daemon crash only (A:H, C/I:N).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (docker).

CVSS VectorVendor: docker

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 03, 2026 - 23:19 EUVD
CVE Published
Nov 03, 2026 - 22:19 cve.org
MEDIUM 6.7

DescriptionCVE.org

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.

Threat Intelligence Overview

Prevalence
High
BuildKit is the default build backend for modern Docker/CI toolchains
Social Media
1
Sightings
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy