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.
{
"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"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.50.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "2.51.0"
},
{
"fixed": "2.51.3"
}
],
"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"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "2.55.0"
},
{
"fixed": "2.55.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "2.56.0"
},
{
"fixed": "2.56.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "29411cf59fd417d8fce1be40ab2911e3e0885f26"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-111760.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "49709338795762553584322916751078140630",
"length": 146
},
"id": "CVE-2026-111760-3cecce62",
"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": {
"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"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"330947638073367403605425808078681674056",
"144947586824138056500848924081409966444",
"139472405145654004558833933124328174025",
"207185373642583100531715557407299491246"
],
"threshold": 0.9
},
"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": {
"function_hash": "276118396657635631739881621619507269023",
"length": 1531
},
"id": "CVE-2026-111760-60c94115",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/git/git/commit/29411cf59fd417d8fce1be40ab2911e3e0885f26",
"target": {
"file": "config.c",
"function": "git_default_config"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"40492909389111590534597735007874274624",
"119073982158448383965368912178836434395",
"8681851569895725682772349497190878367"
],
"threshold": 0.9
},
"id": "CVE-2026-111760-65c5f672",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/git/git/commit/29411cf59fd417d8fce1be40ab2911e3e0885f26",
"target": {
"file": "config.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",
"target": {
"file": "t/helper/test-tool.c"
}
},
{
"deprecated": false,
"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,
"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",
"source": "https://github.com/git/git/commit/29411cf59fd417d8fce1be40ab2911e3e0885f26",
"target": {
"file": "read-cache.c"
}
},
{
"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",
"target": {
"file": "environment.h"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "114238366302630598641261044571687142887",
"length": 177
},
"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"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "319159747400766975314032433220285888801",
"length": 173
},
"id": "CVE-2026-111760-f3bddaec",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/git/git/commit/29411cf59fd417d8fce1be40ab2911e3e0885f26",
"target": {
"file": "read-cache.c",
"function": "mem_pool__ce_alloc"
}
}
]
"2026-11-17T07:02:50Z"