Arbitrary File Overwrite Vulnerability in GitPython by GitPython Developers
CVE-2026-76219

7.2HIGH

Key Information:

Status
Vendor
CVE Published:
19 August 2026

What is CVE-2026-76219?

GitPython versions prior to 3.1.58 are susceptible to an arbitrary file overwrite vulnerability, stemming from flawed handling in the IndexFile class methods. The vulnerability arises due to the lack of option validation and argument separation when appending treeish strings to the git read-tree command. This flaw can be exploited by attackers to inject a malicious --index-output option, which enables the overwriting of files via attacker-controlled writable paths. Such vulnerabilities can lead to significant data loss and compromise the integrity of the system.

Affected Version(s)

GitPython 0 < 3.1.58

GitPython 3.1.58

References

CVSS V4

Score:
7.2
Severity:
HIGH
Confidentiality:
None
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

manus-use
bhaswanthc
.