Vulnerability

CVE-2026-76219

highCVSS 4.0 7.2Published 19 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Gitpython Project gitpython

Weakness type

References

  • github.com /gitpython-developers/GitPython/security/advisories/GHSA-4g…
  • www.vulncheck.com /advisories/gitpython-before-arbitrary-file-overwrite-via-r…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning