CVE-2026-73624
High
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.
SeverityHigh
CVSS8.1
Exploit probability—
ProductGitpython
PublishedAug 13, 2026
First seenAug 13, 2026
Weakness typeCWE-88CWE-88
How to fix
Update
- gitpython_project gitpython3.1.54 or later
- gitpython3.1.54 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gitpython_project gitpython | v < 3.1.54 | 3.1.54 |
| gitpythonPyPI | v < 3.1.54 | 3.1.54 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.