CVE-2026-73624Published Aug 13, 2026 · Aug 13Updated Oct 28
GitPython before 3.1.54 Arbitrary File Overwrite via diff
gitpython-developers GitPython
High7.2Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| gitpython PyPI |
|
|
Original description
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.
From the CVE record · VulnCheck