
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-15793 is an argument injection vulnerability in Moby's BuildKit that allows a malicious Git source to trigger crafted command invocations on the host system. It affects BuildKit versions v0.30.0 through v0.31.1 and was published on July 21, 2026, with the advisory originally released by Docker/Moby on July 16, 2026. The vulnerability is classified as Moderate severity by the vendor, with a CVSS v4.0 base score of 7.3 (High) per NVD scoring (GitHub Advisory).
The root cause is CWE-88 (Improper Neutralization of Argument Delimiters in a Command — Argument Injection). BuildKit custom frontends or clients using the raw low-level API can set the git.checkoutbundle=true option when checking out Git sources; if the referenced Git source is malicious, it can supply crafted arguments that are passed unsanitized to a command invoked on the host. Exploitation requires an attacker-controlled Git source combined with a custom frontend that enables the git.checkoutbundle flag — standard Dockerfile builds are not affected (GitHub Advisory).
Successful exploitation can result in arbitrary command execution on the BuildKit host, with potential for full confidentiality, integrity, and availability compromise of the host system (CVSS v4.0 scores VC:H/VI:H/VA:H). Because BuildKit often runs with elevated privileges in CI/CD pipelines and container build environments, a successful attack could enable an adversary to exfiltrate secrets, tamper with build artifacts, or pivot to other systems in the build infrastructure (GitHub Advisory, Feedly).
git.checkoutbundle=true.git.checkoutbundle=true pointing to the malicious Git source, causing BuildKit to invoke the crafted command on the host./bin/sh, /bin/bash, network tools like curl, wget, or nc) during a Git source checkout operation.The issue has been fixed in BuildKit v0.31.2 and later; users should upgrade immediately (GitHub Advisory). As a workaround, avoid using custom frontends or raw low-level API clients that set git.checkoutbundle=true, and ensure that all Git sources referenced in builds are from trusted, controlled repositories. Standard Dockerfile builds are not affected and do not require immediate action beyond upgrading the BuildKit daemon.
The vulnerability was reported by Zhibin Hu and Lei Wang of HuaweiCloud and credited to researcher ssst0n3, indicating responsible disclosure through coordinated channels. The advisory was published by BuildKit maintainer tonistiigi on July 16, 2026. Community tracking sites (VulnDB, Vulners, CVEFeed) indexed the CVE shortly after NVD publication on July 21, 2026, and it was noted in package management community digests, but no significant broader media coverage or notable researcher commentary beyond the advisory itself has been observed (GitHub Advisory).
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."