{"cve":"CVE-2026-76219","nvd":{"published":"2026-08-19T14:17:48.187","modified":"2026-09-03T15:03:51.950","status":"Analyzed","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_v4":{"vector":"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","score":7.2},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":8.1},"cwes":["CWE-88"],"references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-4gmw-gg2m-w46p","https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-overwrite-via-read-tree"],"products":["gitpython_project:gitpython"],"source":"nvd","synced_at":"2026-10-19T22:49:38.260478770+00:00"},"epss":{"cve":"CVE-2026-76219","score":0.00543,"percentile":0.4564,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4gmw-gg2m-w46p","url":"https://osv.dev/vulnerability/GHSA-4gmw-gg2m-w46p","summary":"GitPython: Unguarded git read-tree option forwarding in IndexFile.from_tree/reset/merge_tree enables arbitrary file overwrite","modified":"2026-09-10T12:25:42.767166279Z","packages":[{"ecosystem":"PyPI","name":"gitpython","purl":"pkg:pypi/gitpython","ranges":["<3.1.58"],"fixed":["3.1.58"]}]},{"id":"PYSEC-2026-3838","url":"https://osv.dev/vulnerability/PYSEC-2026-3838","summary":"GitPython: Unguarded git read-tree option forwarding in IndexFile.from_tree/reset/merge_tree enables arbitrary file overwrite","modified":"2026-09-10T12:15:06.247351775Z","packages":[{"ecosystem":"PyPI","name":"gitpython","purl":"pkg:pypi/gitpython","ranges":["<3.1.58"],"fixed":["3.1.58"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}