{"id":"DHI-umb3-lvix-7dlg-3lk4","summary":"GitPython versions before 3.1.58 contain an arbitrary file overwrite vulnerability in IndexFile.from_tree…","details":"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.","modified":"2026-11-21T16:00:13.656415870Z","published":"2026-11-11T16:48:24Z","upstream":["CVE-2026-76219"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-umb3-lvix-7dlg-3lk4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76219"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-overwrite-via-read-tree"},{"type":"ADVISORY","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-4gmw-gg2m-w46p"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-76219"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-76219"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4gmw-gg2m-w46p"},{"type":"FIX","url":"https://github.com/gitpython-developers/GitPython/pull/2204"},{"type":"FIX","url":"https://github.com/gitpython-developers/GitPython/commit/9b5dcaf85da5946dbf69dcd53f9edba08f760b32"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.58"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-76219"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-76219"}],"affected":[{"package":{"name":"git-mcp","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/git-mcp"},"versions":["2026.7.10-r0","2026.7.10-r2","2026.7.10-r3","2026.8.18-r0","2026.8.31-r0","2026.8.31-r1","2026.8.31-r10","2026.8.31-r11","2026.8.31-r2","2026.8.31-r3","2026.8.31-r4","2026.8.31-r5","2026.8.31-r6","2026.8.31-r7","2026.8.31-r8","2026.8.31-r9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-umb3-lvix-7dlg-3lk4.json"}},{"package":{"name":"git-mcp","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/git-mcp"},"versions":["2026.7.10-0","2026.7.10-1","2026.7.10-2","2026.7.10-3","2026.7.10-4","2026.7.10-5","2026.8.18-0","2026.8.18-1","2026.8.18-2","2026.8.31-0","2026.8.31-1","2026.8.31-10","2026.8.31-11","2026.8.31-12","2026.8.31-13","2026.8.31-14","2026.8.31-15","2026.8.31-16","2026.8.31-17","2026.8.31-18","2026.8.31-19","2026.8.31-2","2026.8.31-20","2026.8.31-21","2026.8.31-22","2026.8.31-23","2026.8.31-24","2026.8.31-25","2026.8.31-26","2026.8.31-27","2026.8.31-3","2026.8.31-4","2026.8.31-5","2026.8.31-6","2026.8.31-7","2026.8.31-8","2026.8.31-9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-umb3-lvix-7dlg-3lk4.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"},{"type":"CVSS_V4","score":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}