8.1Hoch

CVE-2026-76219GitPython before 3.1.58 Arbitrary File Overwrite via read-tree

gitpython-developers GitPython Veröffentlicht: (vor 2 Monaten)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-88

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
gitpython project gitpython < 3.1.58
gitpython-developers GitPython < 3.1.58, fixed 3.1.58

Referenzen und Patches

CPE-Treffer (NVD) (1)

  • cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:* < 3.1.58