cve.bz

CVE-2026-76219

7.2 highEPSS 0.5%

High (7.2) in gitpython project gitpython. EPSS 0.5% chance of exploitation in the next 30 days. Fixed in gitpython 3.1.58.

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.

Severity

CVSS 4.0

7.2 high
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

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
EPSS
0.5% chance of exploitation in the next 30 days; higher than 45% of CVEs (scores of 2026-10-31)
CWE
CWE-88
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4gmw-gg2m-w46pPyPIgitpython<3.1.583.1.58
PYSEC-2026-3838PyPIgitpython<3.1.583.1.58

References

Check your stackJSON