{"id":"CVE-2026-73620","published":"2026-08-13T11:28:21Z","modified":"2026-10-08T15:24:41Z","title":"GitPython before 3.1.57 Arbitrary File Overwrite and Read","vendor":"gitpython-developers","product":"GitPython","tier":"tail","description":{"text":"GitPython before 3.1.57 fails to guard git option forwarding in IndexFile.checkout() and TagReference.create(), allowing attackers to pass unsafe options via kwargs. Attackers can use --prefix to overwrite arbitrary files with repository content or -F to read arbitrary files returned in-band.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00574,"percentile":0.48105,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3f7w-8rr8-f37f","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-overwrite-and-read","tags":["third-party-advisory"]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":9.62},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"gitpython-developers","affectedVersions":[{"vendor":"gitpython-developers","product":"GitPython","versions":["< 3.1.57"]}],"fixedVersions":[{"vendor":"gitpython-developers","product":"GitPython","versions":["3.1.57"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-08-13T15:01:02.645182Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"gitpython","vulnerableRanges":["<3.1.57"],"patched":["3.1.57"],"from":["PYSEC-2026-3949"],"provenance":"source"}],"summary":{"text":"GitPython (before 3.1.57) fails to guard git option forwarding in IndexFile.checkout() and TagReference.create(), so unsafe options can be passed through kwargs. An attacker can use these to overwrite arbitrary files with repository content via --prefix or read arbitrary files returned in-band via -F, which requires only low-privileged authenticated access reachable over the network and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:56Z"},"euvd":{"id":"EUVD-2026-57824","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-gitpython-developers-gitpython-cve-2022-24439","children":[{"from":"CVE-2026-73620","to":"CVE-2026-110857","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["git/index/base.py"],"commits":["https://github.com/gitpython-developers/GitPython/commit/9ad28cc4c7176d22cd6181d69805058a719dd03b","https://github.com/gitpython-developers/GitPython/commit/3af0c2516c5e18c829da30338614688f6b69b49c"],"basis":"rarely changed file"}]},{"from":"CVE-2026-73620","to":"CVE-2026-73624","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["git/index/base.py"],"commits":["https://github.com/gitpython-developers/GitPython/commit/3af0c2516c5e18c829da30338614688f6b69b49c","https://github.com/gitpython-developers/GitPython/commit/1d51b891d7f236044a6aa17498ec682b63dad6e6"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-73622","published":"2026-08-13","fixed":"3.1.55","kev":false},{"cve":"CVE-2026-73621","published":"2026-08-13","fixed":"3.1.56","kev":false,"link":{"from":"CVE-2026-73621","to":"CVE-2026-73620","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:gitpython","fromFixed":"3.1.56","toFixed":"3.1.57","daysApart":0}]}},{"cve":"CVE-2026-73619","published":"2026-08-13","fixed":"3.1.57","kev":false},{"cve":"CVE-2026-73620","published":"2026-08-13","fixed":"3.1.57","kev":false},{"cve":"CVE-2026-76221","published":"2026-08-19","fixed":"3.1.58","kev":false,"link":{"from":"CVE-2026-73620","to":"CVE-2026-76221","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:gitpython","fromFixed":"3.1.57","toFixed":"3.1.58","daysApart":6}]}},{"cve":"CVE-2026-87817","published":"2026-09-09","fixed":"3.1.60","kev":false}],"package":"PyPI:gitpython"}}