{"id":"CVE-2026-111760","summary":"Git: Recursive clones are susceptible to Remote Code Execution","details":"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.","aliases":["GHSA-vp2w-7xxj-jvxr"],"modified":"2026-11-17T07:02:50.555127269Z","published":"2026-11-16T20:58:39.543Z","related":["openSUSE-SU-2026:12538-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-59"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111760.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111760.json"},{"type":"FIX","url":"https://github.com/git/git/commit/29411cf59fd417d8fce1be40ab2911e3e0885f26"},{"type":"ADVISORY","url":"https://github.com/git/git/security/advisories/GHSA-vp2w-7xxj-jvxr"},{"type":"WEB","url":"https://gitlab.com/git-scm/git/-/blob/v2.50.2/Documentation/RelNotes/2.50.2.adoc"},{"type":"WEB","url":"https://gitlab.com/git-scm/git/-/blob/v2.51.3/Documentation/RelNotes/2.51.3.adoc"},{"type":"WEB","url":"https://gitlab.com/git-scm/git/-/blob/v2.52.1/Documentation/RelNotes/2.52.1.adoc"},{"type":"WEB","url":"https://gitlab.com/git-scm/git/-/blob/v2.53.1/Documentation/RelNotes/2.53.1.adoc"},{"type":"WEB","url":"https://gitlab.com/git-scm/git/-/blob/v2.54.1/Documentation/RelNotes/2.54.1.adoc"},{"type":"WEB","url":"https://gitlab.com/git-scm/git/-/blob/v2.55.1/Documentation/RelNotes/2.55.1.adoc"},{"type":"WEB","url":"https://gitlab.com/git-scm/git/-/blob/v2.56.1/Documentation/RelNotes/2.56.1.adoc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111760"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/git/git","events":[{"introduced":"0"},{"fixed":"dcb6cee7fbe72a181a8f2064ab5edb9ddf4af723"},{"introduced":"c44beea485f0f2feaf460e2ac87fdd5608d63cf0"},{"fixed":"56332d1945e81bf0745a1e4544f9d23e975bfa93"},{"introduced":"9a2fb147f2c61d0cab52c883e7e26f5b7948e3ed"},{"fixed":"c5dabd6987d121f2e50ab451aeef4c80ac2a9058"},{"introduced":"67ad42147a7acc2af6074753ebd03d904476118f"},{"fixed":"ed7e96191f58aec5c7778b8de35e1cc955b353f5"},{"introduced":"94f057755b7941b321fd11fec1b2e3ca5313a4e0"},{"fixed":"9291f4cfbfb53956ddd8a041acab08be2b2d62f4"},{"introduced":"e9019fcafe0040228b8631c30f97ae1adb61bcdc"},{"fixed":"c060ae533689be0c9f3520f9258a0a2641e64f37"},{"introduced":"a018953688f1b10bddf91bff8747068f5f4746a4"},{"fixed":"03b41523c576f26ad34085378717a0c1b287470f"},{"fixed":"29411cf59fd417d8fce1be40ab2911e3e0885f26"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"2.50.2"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"strategy":"StringRangeExpression","range":[{"introduced":"2.51.0"},{"fixed":"2.51.3"}],"source":"AFFECTED_FIELD"},{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"2.52.0"},{"fixed":"2.52.1"}]},{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"2.53.0"},{"fixed":"2.53.1"}]},{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"2.54.0"},{"fixed":"2.54.1"}]},{"strategy":"StringRangeExpression","range":[{"introduced":"2.55.0"},{"fixed":"2.55.1"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"2.56.0"},{"fixed":"2.56.1"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"29411cf59fd417d8fce1be40ab2911e3e0885f26"}]}]}}],"versions":["v2.56.0","v2.55.0","v2.53.0","v2.51.2","v2.52.0","v2.50.0","v2.54.0","v2.33.0","v2.51.0","v2.49.0","v2.51.1","v2.48.0","v2.50.1","v2.47.0","v2.50.0-rc0","v2.50.0-rc2","v2.50.0-rc1","v2.49.0-rc2","v2.49.0-rc0","v2.49.0-rc1","v2.48.0-rc0","v2.46.0","v2.48.0-rc1","v2.48.0-rc2","v2.47.0-rc0","v2.47.0-rc1","v2.46.0-rc2","v2.46.0-rc0","v2.46.0-rc1","v2.45.0","v2.43.0","v2.44.0","v2.45.0-rc0","v2.45.0-rc1","v2.44.0-rc2","v2.44.0-rc1","v2.42.0","v2.43.0-rc1","v2.44.0-rc0","v2.43.0-rc2","v2.43.0-rc0","v2.41.0","v2.40.0","v2.42.0-rc0","v2.42.0-rc1","v2.42.0-rc2","v2.41.0-rc0","v2.41.0-rc2","v2.41.0-rc1","v2.39.0-rc0","v2.40.0-rc2","v2.40.0-rc1","v2.40.0-rc0","v2.39.0","v2.39.0-rc1","v2.39.0-rc2","v2.38.0","v2.38.0-rc2","v2.38.0-rc1","v2.38.0-rc0","v2.37.0-rc0","v2.37.0","v2.36.0","v2.37.0-rc2","v2.37.0-rc1","v2.36.0-rc2","v2.36.0-rc1","v2.36.0-rc0","v2.32.0","v2.34.0","v2.35.0","v2.35.0-rc2","v2.35.0-rc1","v2.35.0-rc0","v2.30.0","v2.34.0-rc2","v2.34.0-rc1","v2.34.0-rc0","v2.33.0-rc1","v2.33.0-rc2","v2.33.0-rc0","v2.31.0","v2.32.0-rc3","v2.32.0-rc2","v2.32.0-rc1","v2.32.0-rc0","v2.31.0-rc2","v2.31.0-rc1","v2.31.0-rc0","v2.28.0","v2.27.0","v2.30.0-rc1","v2.30.0-rc2","v2.30.0-rc0","v2.29.0","v2.29.0-rc2","v2.29.0-rc1","v2.29.0-rc0","v2.28.0-rc1","v2.28.0-rc2","v2.26.0","v2.28.0-rc0","v2.27.0-rc2","v2.27.0-rc0","v2.27.0-rc1","v2.25.0","v2.24.0","v2.26.0-rc2","v2.26.0-rc1","v2.26.0-rc0","v2.25.0-rc2","v2.25.0-rc1","v2.25.0-rc0","v2.22.0","v2.23.0","v2.21.0","v2.24.0-rc1","v2.24.0-rc2","v2.24.0-rc0","v2.23.0-rc2","v2.23.0-rc1","v2.23.0-rc0","v2.22.0-rc3","v2.22.0-rc2","v2.22.0-rc1","v2.22.0-rc0","v2.20.0","v2.21.0-rc2","v2.21.0-rc1","v2.15.0","v2.21.0-rc0","v2.17.0","v2.18.0","v2.20.0-rc2","v2.20.0-rc1","v2.20.0-rc0","v2.19.0","v2.19.0-rc2","v2.19.0-rc1","v2.19.0-rc0","v2.18.0-rc2","v2.18.0-rc1","v2.18.0-rc0","v2.17.0-rc2","v2.17.0-rc1","v2.17.0-rc0","v2.16.0-rc0","v2.16.0","v2.16.0-rc1","v2.16.0-rc2","v2.15.0-rc2","v2.15.0-rc1","v2.15.0-rc0","v2.14.0","v2.14.0-rc1","v2.11.0","v2.12.0","v2.13.0","v2.14.0-rc0","v2.13.0-rc2","v2.13.0-rc1","v2.13.0-rc0","v2.10.0","v2.12.0-rc2","v2.12.0-rc1","v2.12.0-rc0","v2.11.0-rc3","v2.9.0","v2.11.0-rc2","v2.11.0-rc1","v2.11.0-rc0","v2.10.0-rc2","v2.10.0-rc1","v2.10.0-rc0","v2.7.0","v2.9.0-rc2","v2.8.0","v2.9.0-rc1","v2.9.0-rc0","v2.8.0-rc4","v2.8.0-rc1","v2.8.0-rc3","v2.8.0-rc2","v2.8.0-rc0","v2.6.0","v2.7.0-rc3","v2.4.0","v2.7.0-rc1","v2.7.0-rc2","v2.0.0","v2.7.0-rc0","v2.6.0-rc1","v2.6.0-rc3","v2.6.0-rc2","v2.5.0","v2.6.0-rc0","v2.2.0","v2.5.0-rc3","v2.5.0-rc0","v2.5.0-rc2","v2.5.0-rc1","v2.4.0-rc0","v2.4.0-rc3","v2.4.0-rc2","v2.4.0-rc1","v2.3.0","v2.3.0-rc2","v2.3.0-rc1","v2.3.0-rc0","v1.8.5","v2.2.0-rc1","v2.2.0-rc3","v2.2.0-rc2","v2.1.0","v2.2.0-rc0","v2.1.0-rc2","v2.1.0-rc1","v2.1.0-rc0","v1.9.0","v2.0.0-rc2","v2.0.0-rc4","v2.0.0-rc3","v2.0.0-rc1","v2.0.0-rc0","v1.9-rc0","v1.9.0-rc3","v1.9-rc2","v1.9-rc1","v1.8.5-rc3","v1.8.5-rc2","v1.8.5-rc0","v1.8.5-rc1","v1.8.4","v1.8.3","v1.8.4-rc4","v1.8.4-rc3","v1.8.4-rc2","v1.8.4-rc1","v1.8.4-rc0","v1.8.2","v1.8.1","v1.7.11","v1.8.3-rc0","v1.8.3-rc3","v1.8.3-rc2","v1.8.3-rc1","v1.8.2-rc3","v1.8.2-rc2","v1.8.2-rc1","v1.8.2-rc0","v1.8.0","v1.8.1-rc2","v1.8.1-rc3","v1.7.12","v1.7.9","v1.8.1-rc1","v1.8.1-rc0","v1.8.0-rc3","v1.8.0-rc2","v1.8.0-rc1","v1.8.0-rc0","v1.7.3","v1.7.12-rc3","v1.7.12-rc2","v1.7.11-rc1","v1.7.12-rc1","v1.7.12-rc0","v1.7.11-rc3","v1.7.11-rc0","v1.7.11-rc2","v1.7.10","v1.7.8","v1.7.10-rc3","v1.7.10-rc4","v1.7.10-rc2","v1.7.10-rc1","v1.7.10-rc0","v1.7.7","v1.7.9-rc2","v1.7.9-rc1","v1.7.9-rc0","v1.7.4","v1.7.5","v1.7.8-rc2","v1.7.8-rc4","v1.7.8-rc3","v1.7.0","v1.7.8-rc1","v1.7.6","v1.7.8-rc0","v1.7.7-rc1","v1.7.7-rc3","v1.7.7-rc2","v1.7.7-rc0","v1.6.0","v1.7.6-rc3","v1.7.6-rc2","v1.7.2-rc1","v1.7.6-rc1","v1.7.6-rc0","v1.6.6","v1.7.5-rc3","v1.7.5-rc2","v1.7.5-rc1","v1.7.5-rc0","v1.7.4-rc1","v1.7.4-rc3","v1.7.4-rc2","v1.7.4-rc0","v1.7.1","v1.7.3.1","v1.7.3-rc2","v1.7.3-rc1","v1.7.3-rc0","v1.7.2","v1.7.2-rc3","v1.7.2-rc2","v1.7.2-rc0","v1.7.1-rc2","v1.7.1-rc1","v1.7.1-rc0","v1.7.0-rc2","v1.6.3","v1.6.5","v1.7.0-rc1","v1.7.0-rc0","v1.6.6-rc1","v1.6.1-rc1","v1.6.6-rc4","v1.6.6-rc3","v1.6.6-rc2","v1.6.6-rc0","v1.6.5-rc3","v1.6.5-rc2","v1.6.5-rc1","v1.6.5-rc0","v1.6.4","v1.6.4-rc3","v1.6.4-rc2","v1.6.4-rc1","v1.6.4-rc0","v1.6.2","v1.6.3-rc4","v1.6.3-rc3","v1.6.3-rc2","v1.6.3-rc1","v1.6.3-rc0","v1.6.1","v1.6.2-rc2","v1.6.2-rc1","v1.6.2-rc0","v1.6.1-rc4","v1.6.1-rc3","v1.6.1-rc2","v1.6.0-rc3","v1.6.0-rc2","v1.6.0-rc1","v1.6.0-rc0","v1.5.6","v1.5.6-rc3","v1.5.6-rc2","v1.5.6-rc1","v1.5.6-rc0","v1.5.5","v1.5.5-rc3","v1.5.5-rc2","v1.5.5-rc1","v1.5.5-rc0","v1.5.4","v1.5.4-rc5","v1.5.4-rc4","v1.5.4-rc3","v1.5.4-rc2","v1.5.4-rc1","v1.5.4-rc0","v1.5.3.1","v1.5.3","v1.5.3-rc7","v1.5.3-rc6","v1.5.3-rc5","v1.5.3-rc4","v1.5.3-rc3","v1.5.3-rc2","v1.5.3-rc1","v1.5.3-rc0","v1.5.2","v1.5.2-rc3","v1.5.2-rc2","v1.5.2-rc1","v1.5.2-rc0","v1.5.1","v1.5.1-rc3","v1.5.1-rc2","v1.5.1-rc1","v1.5.0","v1.5.0-rc4","v1.5.0-rc3","v1.5.0-rc2","v1.5.0-rc1","v1.5.0-rc0","v1.4.4.1","v1.4.4","v1.4.4-rc2","v1.4.4-rc1","v1.4.3","v1.4.3-rc3","v1.4.3-rc2","v1.4.3-rc1","v1.4.2","v1.4.2-rc4","v1.4.2-rc3","v1.4.2-rc2","v1.4.2-rc1","v1.4.1","v1.4.1-rc2","v1.4.1-rc1","v1.3.0-rc1","v1.2.0","v1.1.0","v1.0.0","v1.0rc6","v0.99.9n","v1.0rc5","v0.99.9m","v1.0rc4","v0.99.9l","v0.99.9k","v1.0rc3","v0.99.9j","v1.0rc2","v0.99.9i","v1.0rc1","v0.99.9h","v0.99.9g","v0.99.9f","v0.99.9e","v0.99.9d","v0.99.9c","v0.99.9b","v0.99.9a","v0.99.8g","v0.99.8f","v0.99.8e","v0.99.8d","v0.99.8c","v0.99.8b","v0.99.8a","v0.99.8","v0.99.7","v0.99.6","v0.99.5","v0.99.4","v0.99.3","v0.99.2","v0.99.1","v0.99"],"database_specific":{"vanir_signatures_modified":"2026-11-17T07:02:50Z","source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-111760.json","vanir_signatures":[{"signature_type":"Function","signature_version":"v1","source":"https://github.com/git/git/commit/29411cf59fd417d8fce1be40ab2911e3e0885f26","target":{"file":"read-cache.c","function":"make_empty_transient_cache_entry"},"deprecated":false,"digest":{"function_hash":"49709338795762553584322916751078140630","length":146},"id":"CVE-2026-111760-3cecce62"},{"deprecated":false,"digest":{"line_hashes":["116668357469867584904721325873967049240","317317206643422045288628312646534221734","289767080429861002109760773730285606188","50934231815103340872995511775835767575"],"threshold":0.9},"id":"CVE-2026-111760-40f1ccf2","signature_type":"Line","signature_version":"v1","source":"https://github.com/git/git/commit/29411cf59fd417d8fce1be40ab2911e3e0885f26","target":{"file":"environment.c"}},{"id":"CVE-2026-111760-412f75a9","signature_type":"Line","signature_version":"v1","source":"https://github.com/git/git/commit/29411cf59fd417d8fce1be40ab2911e3e0885f26","target":{"file":"t/helper/test-tool.h"},"deprecated":false,"digest":{"line_hashes":["330947638073367403605425808078681674056","144947586824138056500848924081409966444","139472405145654004558833933124328174025","207185373642583100531715557407299491246"],"threshold":0.9}},{"source":"https://github.com/git/git/commit/29411cf59fd417d8fce1be40ab2911e3e0885f26","target":{"file":"config.c","function":"git_default_config"},"deprecated":false,"digest":{"function_hash":"276118396657635631739881621619507269023","length":1531},"id":"CVE-2026-111760-60c94115","signature_type":"Function","signature_version":"v1"},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/git/git/commit/29411cf59fd417d8fce1be40ab2911e3e0885f26","target":{"file":"config.c"},"deprecated":false,"digest":{"line_hashes":["40492909389111590534597735007874274624","119073982158448383965368912178836434395","8681851569895725682772349497190878367"],"threshold":0.9},"id":"CVE-2026-111760-65c5f672"},{"target":{"file":"t/helper/test-tool.c"},"deprecated":false,"digest":{"line_hashes":["173919750422116323656846954001284656022","129429541725442061223975705233156162051","26617581148013806030838355455394380279","291074568142656010863706572415403530573"],"threshold":0.9},"id":"CVE-2026-111760-793fa0a2","signature_type":"Line","signature_version":"v1","source":"https://github.com/git/git/commit/29411cf59fd417d8fce1be40ab2911e3e0885f26"},{"digest":{"function_hash":"307970319269733303948404400528098016139","length":1071},"id":"CVE-2026-111760-7c40ed5e","signature_type":"Function","signature_version":"v1","source":"https://github.com/git/git/commit/29411cf59fd417d8fce1be40ab2911e3e0885f26","target":{"file":"read-cache.c","function":"verify_path_internal"},"deprecated":false},{"source":"https://github.com/git/git/commit/29411cf59fd417d8fce1be40ab2911e3e0885f26","target":{"file":"read-cache.c"},"deprecated":false,"digest":{"line_hashes":["266181220921417488087753311609231970773","5131954034962423123110524802735023473","55023301705649604347145679504550312377","157873022159889909520578775161944050301","294303617543856093313851180237953682817","137817349491109451213669471181163370533","159796991383413107772967713754173471922","237217028777483922357546799588241152582","38068326520219323301392416849203753188","252593003661287767918193924038871893765","64009128129015640240811286369778939397","137331619252081872276483630287059426779","204061762494219755591435553690207238631","2864643037967532825165730054189405434","121109651224918358072441422125518315303","26912702716877587483724555261752113630","137950178152851368621009395607134826847","306875796111984367206682660672981041823","285233141429929831567926970864151979040","143654041881391986147074889740817972298","255196801150922951666916700849220141957","332825290454978049786976455049710667105","243373830033381566972631917393219128474","181310670678645051589001783964168624015","263375084253136855863514245971306246485"],"threshold":0.9},"id":"CVE-2026-111760-d4a8293a","signature_type":"Line","signature_version":"v1"},{"target":{"file":"environment.h"},"deprecated":false,"digest":{"line_hashes":["106904195788644953324604920348655655251","78070962456097915254491221136110018380","185031922395417866792458794957636722940","294400175521624944071793215374030340314"],"threshold":0.9},"id":"CVE-2026-111760-e3254048","signature_type":"Line","signature_version":"v1","source":"https://github.com/git/git/commit/29411cf59fd417d8fce1be40ab2911e3e0885f26"},{"deprecated":false,"digest":{"length":177,"function_hash":"114238366302630598641261044571687142887"},"id":"CVE-2026-111760-ebfd9a77","signature_type":"Function","signature_version":"v1","source":"https://github.com/git/git/commit/29411cf59fd417d8fce1be40ab2911e3e0885f26","target":{"file":"read-cache.c","function":"mem_pool__ce_calloc"}},{"signature_version":"v1","source":"https://github.com/git/git/commit/29411cf59fd417d8fce1be40ab2911e3e0885f26","target":{"file":"read-cache.c","function":"mem_pool__ce_alloc"},"deprecated":false,"digest":{"length":173,"function_hash":"319159747400766975314032433220285888801"},"id":"CVE-2026-111760-f3bddaec","signature_type":"Function"}]}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H"}]}