{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-111760","id":"CVE-2026-111760","title":"Git code execution in recursive submodule cloning","description":"Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. Prior to 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1, and 2.56.1, an attacker-controlled repository hosted by the attacker rather than on a normal forge site can exploit git clone --recurse-submodules by causing Git to overwrite a","descriptionLong":"Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. Prior to 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1, and 2.56.1, an attacker-controlled repository hosted by the attacker rather than on a normal forge site can exploit git clone --recurse-submodules by causing Git to overwrite a submodule gitfile with a symbolic link. The symbolic link can point to a directory containing attacker-controlled Git configuration or hooks, allowing those hooks or configuration to execute code on the cloning user's system. The issue requires the recursive-submodule option, and users should avoid cloning repositories from untrusted sources. This issue is fixed in versions 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1, and 2.56.1.","published":"2026-11-16T20:58:39.543Z","updated":"2026-11-18T01:06:18.628710509Z","reserved":"2026-10-16T17:52:09.082Z","status":"Received","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["git"],"affectedProducts":[{"vendor":"git","product":"git","defaultStatus":null,"versions":[{"version":"< 2.50.2","status":"affected"},{"version":">= 2.51.0, < 2.51.3","status":"affected"},{"version":">= 2.52.0, < 2.52.1","status":"affected"},{"version":">= 2.53.0, < 2.53.1","status":"affected"},{"version":">= 2.54.0, < 2.54.1","status":"affected"},{"version":">= 2.55.0, < 2.55.1","status":"affected"},{"version":">= 2.56.0, < 2.56.1","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-59"],"aliases":["GHSA-vp2w-7xxj-jvxr"],"references":[{"url":"https://github.com/git/git/security/advisories/GHSA-vp2w-7xxj-jvxr","tags":["x_refsource_CONFIRM","advisory"]},{"url":"https://github.com/git/git/commit/29411cf59fd417d8fce1be40ab2911e3e0885f26","tags":["x_refsource_MISC","fix"]},{"url":"https://gitlab.com/git-scm/git/-/blob/v2.50.2/Documentation/RelNotes/2.50.2.adoc","tags":["x_refsource_MISC","web"]},{"url":"https://gitlab.com/git-scm/git/-/blob/v2.51.3/Documentation/RelNotes/2.51.3.adoc","tags":["x_refsource_MISC","web"]},{"url":"https://gitlab.com/git-scm/git/-/blob/v2.52.1/Documentation/RelNotes/2.52.1.adoc","tags":["x_refsource_MISC","web"]},{"url":"https://gitlab.com/git-scm/git/-/blob/v2.53.1/Documentation/RelNotes/2.53.1.adoc","tags":["x_refsource_MISC","web"]},{"url":"https://gitlab.com/git-scm/git/-/blob/v2.54.1/Documentation/RelNotes/2.54.1.adoc","tags":["x_refsource_MISC","web"]},{"url":"https://gitlab.com/git-scm/git/-/blob/v2.55.1/Documentation/RelNotes/2.55.1.adoc","tags":["x_refsource_MISC","web"]},{"url":"https://gitlab.com/git-scm/git/-/blob/v2.56.1/Documentation/RelNotes/2.56.1.adoc","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111760.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111760","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00711,"epssPercentile":0.5428,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-111760","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111760","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-111760","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-111760","ok":true,"note":"scored 2026-11-18"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}