PT-2026-78401

CVE-2026-76219

·

Published

2026-08-04

·

Updated

2026-09-22

Description by

CVSS 2.0
8.5
High
MetricsAV: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
Related identifiers
GHSA-4GMW-GG2M-W46P
GHSA-7JX3-JQCP-HHGC
ECHO-B709-0B22-8A81
OESA-2026-3699
OESA-2026-3700
OESA-2026-3721
OPENSUSE-SU-2026:11566-1
OPENSUSE-SU-2026:21874-1
PYSEC-2026-3838
SUSE-SU-2026:4072-1
Found an issue in the description? Have something to add? Feel free to write us 👾