PT-2026-78401
CVE-2026-76219
·
Published
2026-08-04
·
Updated
2026-09-22
Description by
CVSS 2.0
8.5
HighMetricsAV:N/AC:L/Au:S/C:N/I:C/A:C
Name of the Vulnerable Software and Affected Versions
GitPython versions prior to 3.1.58
Description
An arbitrary file overwrite issue exists in the
IndexFile.from tree(), IndexFile.reset(), and IndexFile.merge tree() methods. These methods append caller-influenced treeish strings to the git read-tree command without proper option validation or argument separation. This allows attackers to inject the --index-output option to overwrite arbitrary files with a valid git-index blob, resulting in the destruction of existing file content at writable paths controlled by the attacker.Recommendations
Update GitPython to version 3.1.58 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾