CVE-2026-76219
GitPython before 3.1.58 Arbitrary File Overwrite via read-tree
CVSS Score
8.1
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-88 |
| Vendor | gitpython-developers |
| Product | gitpython |
| Published | Aug 19, 2026 |
Stay Ahead of the Next One
Get instant alerts for gitpython-developers gitpython
Be the first to know when new high vulnerabilities affecting gitpython-developers gitpython are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High
Affected Versions
gitpython-developers / GitPython
0 < 3.1.58
References
Credits
๐ manus-use ๐ bhaswanthc