CVE-2026-121522

Possible panic from Git source resolver

Published Nov 3, 2026 CVSS 4.0 · 6.7 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

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.

Remediation

Vendor Solution

Upgrade BuildKit to v0.34.2 or later.


Vendor Workaround

Avoid untrusted build definitions. Only specific builds using Git dependencies trigger this issue.


OpenCVE Recommended Actions

  • Upgrade BuildKit to v0.34.2 or later
  • Limit the use of untrusted build definitions and restrict builds that depend on Git repositories to trusted contexts
  • Monitor BuildKit daemon logs for crashes and schedule automatic restarts to maintain availability

Generated by OpenCVE AI on November 5, 2026 at 01:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-248
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Moby
Moby buildkit
Vendors & Products Moby
Moby buildkit
Type Values Removed Values Added
Description 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.
Title Possible panic from Git source resolver
Weaknesses CWE-476
References
Metrics cvssV4_0

{'score': 6.7, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Docker
Published
Updated
Nov 6, 2026, 7:31 PM
Reserved
Nov 3, 2026, 2:27 PM
Status
Awaiting Analysis
Published
Nov 3, 2026, 10:19 PM
Modified
Nov 6, 2026, 9:40 PM
Severity
Moderate
Public date
Nov 3, 2026, 10:09 PM