Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker crafts malicious Git repository
-
DeliveryVictim frontend enables git.checkoutbundle=true
-
ExploitBuild fetches Git source
-
ExecutionInjected arguments passed to git command
-
ImpactCrafted command executes on build host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
|
| Exploitation Conditions | Exploitation requires all of the following: (1) BuildKit is driven by a custom frontend or a client using the raw low-level API - not standard docker build/Dockerfile usage; (2) that client explicitly sets git.checkoutbundle=true during Git source checkout, a non-default option; (3) the build consumes an attacker-controlled or compromised ('malicious') Git source; and (4) a build is actually executed against it (active user interaction, UI:A). Limiting factors: the non-default checkoutbundle configuration and the raw-API/custom-frontend requirement sharply narrow the exposed population, the attacker needs low-privilege build access (PR:L), and the CVSS attack-requirement metric (AT:P) reflects that conditions beyond mere network reachability must hold - so default Docker installations are not exploitable. |
| Impact | The vendor CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H) scores 7.3 (High) and captures the real constraints well: network reachability of the Git source but with an attack requirement (AT:P), low privileges (PR:L), and active user interaction (UI:A) - i.e., a build must actually be run against the malicious source with a non-default option enabled. This is not a drive-by, unauthenticated network compromise: exploitation depends on a specific, non-default configuration (git.checkoutbundle=true) reachable only through custom frontends or raw low-level API clients, so standard docker build / Dockerfile users are not exposed. EPSS is not provided, KEV status is negative, and no POC is referenced, so real-world exploitation pressure appears low today despite the high technical impact. The provided 'Information Disclosure' tag conflicts with the vector's VC:H/VI:H/VA:H and the description's host command-invocation impact - treat this as a command/code-execution issue, not merely information disclosure, and verify the tag against the vendor advisory. |
| Exploit ScenarioDerived | An attacker publishes or compromises a Git repository crafted to inject extra arguments into BuildKit's git checkout. A victim CI pipeline built on a custom BuildKit frontend that enables git.checkoutbundle=true builds an image from that repository, and during Git source checkout the crafted values are interpreted as command arguments, executing attacker-chosen commands on the build host. No public POC is referenced, and the attack requires the non-default option plus an actual build run (active user interaction). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Jul 21, 2026
Argument injection in Moby BuildKit lets a malicious Git source trigger crafted command invocation on the build host when a custom frontend or a client using the raw low-level API enables the non-default git.checkoutbundle=true option during Git source checkout. The flaw affects builds that opt into this experimental checkout behavior rather than standard Dockerfile builds, and a successful attack yields high-impact command execution in the build environment. No public exploit has been identified at time of analysis and it is not listed in CISA KEV.
Earlier versions of this analysis (1)
Argument injection in BuildKit's raw low-level API allows crafted command invocation on the host when checking out malicious Git sources with the git.checkoutbundle=true flag set. Affected are custom frontend or client implementations of BuildKit (cpe:2.3:a:moby:buildkit) that explicitly use this low-level API path. An attacker who controls a malicious Git repository and can induce a low-privileged user to trigger a checkout operation via this API can achieve high-impact compromise of the vulnerable system's confidentiality, integrity, and availability. No public exploit code has been identified at time of analysis, and this vulnerability is not currently listed in the CISA KEV catalog.
RemediationAI
Consult the Docker/Moby advisory GHSA-hw3h-2gp9-cxpv (https://github.com/moby/buildkit/security/advisories/GHSA-hw3h-2gp9-cxpv) and upgrade BuildKit to the patched release listed there; an exact fix version is not present in the provided intelligence, so treat the advisory as the source of the version (Patch available per vendor advisory - released patched version not independently confirmed from this data). As a compensating control until patched, do not set git.checkoutbundle=true in custom frontends or low-level API clients (leave Git checkout in its default, non-bundle mode), which removes the vulnerable code path at the cost of losing the checkout-bundle behavior. Additionally, restrict builds to trusted Git sources and pin/validate repository origins so untrusted, attacker-controlled repositories cannot be fed into pipelines that use the raw API, accepting the operational overhead of source allowlisting.
Affected VersionsENISA
Affected Packages
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
BuildKit (moby/buildkit) is the modern concurrent, cache-efficient build engine that backs Docker Buildx and many CI/CD image-build pipelines. It exposes a low-level LLB API and a frontend interface that let custom clients drive builds programmatically, including how Git sources are fetched. The vulnerability is a CWE-88 (Argument Injection / improper neutralization of argument delimiters in a command) issue in the Git source handling path: when git.checkoutbundle=true is set, BuildKit invokes git tooling with data derived from the potentially attacker-controlled Git source, and attacker-influenced values can be interpreted as additional command arguments rather than inert data, resulting in a crafted command invocation on the host.
Know when Buildkit gets its next vulnerability
- 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
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Malicious Git source is network-delivered (AV:N) but needs the non-default checkoutbundle option and a crafted repo (AC:H), a low-priv build client (PR:L), and a triggered build (UI:R); command execution gives C/I/A:H.
AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Primary rating from Vendor (Docker).
CVSS VectorVendor: Docker
Lifecycle Timeline
4DescriptionCVE.org
BuildKit custom frontends or clients using the raw low-level API can set git.checkoutbundle=true when checking out Git sources. If the Git source is malicious, this could lead to a crafted command invocation on the host.
Executive ViewAI
Moby BuildKit contains an argument injection vulnerability (CVE-2026-15793, CVSS 7.3) that allows arbitrary command execution in the build environment when experimental Git checkout features are enabled. This threatens build infrastructure integrity and creates supply chain risk, as compromised builds could propagate malicious artifacts into production containers. Organizations using BuildKit with git.checkoutbundle=true require immediate action.
Disable git.checkoutbundle=true in all BuildKit configurations. Implement network segmentation between build infrastructure and production systems. Enforce Git source authentication and whitelist approved repositories. Enable comprehensive build log monitoring and alerting for unexpected command execution. These mitigations remain essential even after patch release pending production deployment.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. R
Cache poisoning in BuildKit lets a malicious image advertise DiffIDs that do not match its actual layer contents, so a d
Denial of service in Moby BuildKit allows a low-privileged remote user to crash the BuildKit daemon by submitting a buil
Path traversal in the BuildKit daemon allows a client with valid control API access to craft a malicious upload request
Denial of service in Moby BuildKit allows anyone able to submit an LLB build definition to a buildkitd daemon to panic a
Denial of service in the BuildKit Dockerfile frontend (buildkitd) allows a user who can submit a build context to exhaus
Denial of service in Docker BuildKit (moby/buildkit) allows a malicious or compromised client or frontend to crash the B
BuildKit (moby/buildkit) contains a policy-validation bypass in which a specially crafted Git source build step makes a
BuildKit, the container build engine used by Docker and exposed through `docker build`/buildx, can be tricked into perfo
BuildKit can cache a fetched snapshot under a claimed content digest without adequately verifying that the blob bytes ma
Moby BuildKit (all versions in the affected range per the unbounded CPE cpe:2.3:a:moby:buildkit:*:*:*:*:*:*:*:*) can be
A malicious external BuildKit frontend can issue crafted requests against the daemon's internal API that trigger a data
Same technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Micro 6.0 | Affected |
| SUSE Linux Micro 6.1 | Affected |
| openSUSE Leap 16.0 | Affected |
EUVD-2026-46312
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB