CVE-2026-76219
Published:August 19, 2026
Updated:August 25, 2026
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 Packages
gitpython (CONDA):
Affected version(s) >=1.0.1 <3.1.58Fix Suggestion:
Update to version 3.1.58https://github.com/gitpython-developers/GitPython.git (GITHUB):
Affected version(s) >=winerr_show <3.1.58Fix Suggestion:
Update to version 3.1.58gitpython (PYTHON):
Affected version(s) >=0.1.7 <3.1.58Fix Suggestion:
Update to version 3.1.58Related Resources (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
EPSS
Base Score:
0.28