CVE-2026-76219: Gitpython Project Gitpython
High severity, CVSS 8.1. EPSS: 0.5% chance of exploitation in the next 30 days.
GitPython versions before 3.1.58 contain an arbitrary file overwrite vulnerability in IndexFile.from_tree, IndexFile.reset, and IndexFile.merge_tree methods that append caller-influenced treeish strings to git read-tree without option validation or argument separation. Attackers can inject the --index-output option to overwrite arbitrary files with a valid git-index blob, destroying existing file content at attacker-controlled writable paths.
Affected products
- Gitpython Project Gitpython: before 3.1.58 (fixed in 3.1.58)
Published 2026-08-19. Last modified 2026-09-03.