PT-2026-78401 · Pypi+1 · Gitpython+1

·

CVE-2026-76219

·

Published

2026-08-04

·

Updated

2026-09-10

CVSS v2.0

8.5

High

VectorAV: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.

Exploit

Fix

Argument Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-12059
CVE-2026-76219
GHSA-4GMW-GG2M-W46P
GHSA-7JX3-JQCP-HHGC
OPENSUSE-SU-2026:11566-1
PYSEC-2026-3838

Affected Products

Gitpython
Red Os