{"id":"CVE-2026-69097","published":"2026-08-03T13:20:49Z","modified":"2026-08-14T16:51:15Z","title":"GitPython before 3.1.53 Config Injection via Submodule Names","vendor":"gitpython-developers","product":"GitPython","tier":"tail","description":{"text":"GitPython before 3.1.53 fails to properly escape section names in git config files, allowing attackers to inject arbitrary configuration directives through malicious submodule names. Attackers can inject core.sshCommand or other dangerous config keys into the victim's .git/config via create_submodule or clone_from operations, achieving remote code execution when git performs ssh operations.","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00268,"percentile":0.19317,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3rp5-jjmw-4wv2","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/gitpython-before-config-injection-via-submodule-names","tags":["third-party-advisory"]}],"priority":{"score":8.8,"factors":[{"name":"EPSS percentile","points":3.86},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"gitpython-developers","affectedVersions":[{"vendor":"gitpython-developers","product":"GitPython","versions":["< 3.1.53"]}],"fixedVersions":[{"vendor":"gitpython-developers","product":"GitPython","versions":["3.1.53"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-08-04T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"gitpython","vulnerableRanges":["<3.1.53"],"patched":["3.1.53"],"from":["GHSA-3rp5-jjmw-4wv2","PYSEC-2026-3981"],"provenance":"source"}],"summary":{"text":"The flaw is a config injection weakness in GitPython before 3.1.53, where section names in git config files are not properly escaped, so a malicious submodule name can smuggle in arbitrary configuration directives. An attacker who can get a victim to run create_submodule or clone_from operations with a crafted submodule name can inject dangerous keys such as core.sshCommand into the victim's .git/config, leading to code execution when git performs SSH operations; exploitation requires local access to the affected system, high attack complexity, and user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:58Z"},"euvd":{"id":"EUVD-2026-52290","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-gitpython-developers-gitpython-cve-2026-69097","children":[{"from":"CVE-2026-69097","to":"CVE-2026-76221","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["git/config.py"],"commits":["https://github.com/gitpython-developers/GitPython/commit/1ed1b924f4e2d2ee7bab296df77b978af21853f1","https://github.com/gitpython-developers/GitPython/commit/a495ccd3b547ccd60b2187215823b72a9c0188bf"],"basis":"shared function","functions":["_value_to_string_safe"]},{"kind":"similar","provenance":"machine","score":0.36,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-67326","published":"2026-08-01","fixed":"3.1.50","kev":false},{"cve":"CVE-2026-67324","published":"2026-08-01","fixed":"3.1.51","kev":false,"link":{"from":"CVE-2026-67324","to":"CVE-2026-69097","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:gitpython","fromFixed":"3.1.51","toFixed":"3.1.53","daysApart":2}]}},{"cve":"CVE-2026-69097","published":"2026-08-03","fixed":"3.1.53","kev":false},{"cve":"CVE-2026-73623","published":"2026-08-13","fixed":"3.1.54","kev":false,"link":{"from":"CVE-2026-69097","to":"CVE-2026-73623","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:gitpython","fromFixed":"3.1.53","toFixed":"3.1.54","daysApart":10}]}},{"cve":"CVE-2026-73624","published":"2026-08-13","fixed":"3.1.54","kev":false,"link":{"from":"CVE-2026-69097","to":"CVE-2026-73624","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:gitpython","fromFixed":"3.1.53","toFixed":"3.1.54","daysApart":10}]}},{"cve":"CVE-2026-73625","published":"2026-08-13","fixed":"3.1.54","kev":false,"link":{"from":"CVE-2026-69097","to":"CVE-2026-73625","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:gitpython","fromFixed":"3.1.53","toFixed":"3.1.54","daysApart":10}]}}],"package":"PyPI:gitpython"}}