Vulnerability details

CVE-2026-76219

gitpython-developers GitPython

GitPython before 3.1.58 Arbitrary File Overwrite via read-tree

CVSS 4.0
7.2High

Official description

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.

CVSS scores

ScoreVersionSourceVector
7.2High 4.0 CVEProject cvelistV5 (CNA) (VulnCheck) CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
8.1High 3.1 CVEProject cvelistV5 (CNA) (VulnCheck) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Affected products

VendorProductVersionsSource
gitpython-developers GitPython v < 3.1.58 CVEProject cvelistV5 (CNA)

References and advisories

2
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-08-19
Last updated
2026-10-08
State
Published
Assigner (CNA)
VulnCheck

Exploit prediction (EPSS)

0.54%
Probability of exploitation in 30 days
45.8%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
None
Technical impact
Total

Weaknesses (CWE)

  • CWE-88
    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')