published 13 Aug 2026 · updated 8 Oct 2026
GitPython before 3.1.54 Arbitrary File Overwrite via diff
8.1HighCVSS 8.1EPSS 1%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.1.54.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| gitpython-developers | <3.1.54 | 3.1.54 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket