{"id":"CVE-2026-73624","published":"2026-08-13T11:28:24Z","modified":"2026-10-08T15:24:44Z","title":"GitPython before 3.1.54 Arbitrary File Overwrite via diff","vendor":"gitpython-developers","product":"GitPython","tier":"tail","description":{"text":"GitPython versions before 3.1.54 contain an arbitrary file overwrite vulnerability in the Diffable.diff method that fails to validate git options passed through kwargs. Attackers can supply the --output argument via the other parameter or output kwarg to write patch content to attacker-chosen file paths at process privilege level.","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.00553,"percentile":0.46804,"provenance":"source"},"cwes":[{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"}],"references":[{"url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-fjr4-x663-mwxc","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-overwrite-via-diff","tags":["third-party-advisory"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":9.36},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"gitpython-developers","affectedVersions":[{"vendor":"gitpython-developers","product":"GitPython","versions":["< 3.1.54"]}],"fixedVersions":[{"vendor":"gitpython-developers","product":"GitPython","versions":["3.1.54"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-08-13T15:04:50.912129Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"gitpython","vulnerableRanges":["<3.1.54"],"patched":["3.1.54"],"from":["PYSEC-2026-3995"],"provenance":"source"}],"summary":{"text":"GitPython versions before 3.1.54 contain an arbitrary file overwrite flaw in the Diffable.diff method, which fails to validate git options passed through kwargs. An attacker who can supply the --output argument via the other parameter or output kwarg can write patch content to attacker-chosen file paths at process privilege level.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:10Z"},"euvd":{"id":"EUVD-2026-57793","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-gitpython-developers-gitpython-cve-2022-24439","parents":[{"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"}]}],"children":[{"from":"CVE-2026-73624","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/1d51b891d7f236044a6aa17498ec682b63dad6e6"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-67324","published":"2026-08-01","fixed":"3.1.51","kev":false},{"cve":"CVE-2026-69097","published":"2026-08-03","fixed":"3.1.53","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-73623","published":"2026-08-13","fixed":"3.1.54","kev":false},{"cve":"CVE-2026-73624","published":"2026-08-13","fixed":"3.1.54","kev":false},{"cve":"CVE-2026-73625","published":"2026-08-13","fixed":"3.1.54","kev":false},{"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}],"package":"PyPI:gitpython"}}