High
Git source checkout from a bundle file could lead to command injection
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-15793
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 20:13 UTC · Revision 1
Source evidence
Git source checkout from a bundle file could lead to command injection
core-osv · Original sourcePublished 21 Jul 2026, 16:10 UTC
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.
osv:CVE-2026-15793
Complete source record
{
"id": "794dd7cf1ce090c708fbe6a17816644eb7f52e302e0d01833345f9c2cd2d5013",
"url": "https://osv.dev/vulnerability/CVE-2026-15793",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Git source checkout from a bundle file could lead to command injection",
"summary": "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.",
"evidence": "osv:CVE-2026-15793",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-15793",
"aliases": [
"CVE-2026-15793",
"GHSA-hw3h-2gp9-cxpv"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/moby/buildkit",
"type": "GIT",
"events": [
{
"introduced": "dd2170e156c9633da1b2d1a58a6188e3f7d36fa4"
},
{
"fixed": "e42e1bfd389af7203238cce77b1f7dad447285e9"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0.30.0"
},
{
"last_affected": "0.31.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"cpe": "cpe:2.3:a:mobyproject:buildkit:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.30.0"
},
{
"fixed": "0.31.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-15793.json"
}
}
],
"modified": "2026-10-28T02:30:23.161758236Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/15xxx/CVE-2026-15793.json",
"https://github.com/moby/buildkit/security/advisories/GHSA-hw3h-2gp9-cxpv",
"https://nvd.nist.gov/vuln/detail/CVE-2026-15793"
],
"provider_metadata": {
"cwe_ids": [
"CWE-88"
],
"cna_assigner": "Docker",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/15xxx/CVE-2026-15793.json"
}
},
"related_cves": [
{
"value": "CVE-2026-15793",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 489705,
"published_at": "2026-07-21T16:10:21.79+00:00"
}