{"id":"DHI-7qmr-esmq-wqha-mnsu","summary":"GitPython before 3.1.59 omits --separate-git-dir from unsafe_git_clone_options, allowing attackers to create arbitrary…","details":"GitPython before 3.1.59 omits --separate-git-dir from unsafe_git_clone_options, allowing attackers to create arbitrary git directories outside the intended clone destination. Attackers can pass a separate_git_dir parameter to Repo.clone_from() or Repo.clone() to redirect repository metadata to an attacker-controlled filesystem path, enabling arbitrary directory creation and potential hook execution.","modified":"2026-11-21T16:00:09.591767958Z","published":"2026-11-11T16:48:52Z","upstream":["CVE-2026-78677"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-7qmr-esmq-wqha-mnsu"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78677"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/gitpython-before-path-traversal-via-separate-git-dir"},{"type":"ADVISORY","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-8mcc-hrx5-hvxc"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-78677"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-78677"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8mcc-hrx5-hvxc"},{"type":"FIX","url":"https://github.com/gitpython-developers/GitPython/pull/2210"},{"type":"FIX","url":"https://github.com/gitpython-developers/GitPython/commit/b68afff45af0f49e79a3e2d2162018986b37ad5d"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.59"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-78677"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/cve-2026-78677"},{"type":"ADVISORY","url":"https://github.com/gitpython-developers/gitpython/security/advisories/ghsa-8mcc-hrx5-hvxc"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-78677"}],"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-7qmr-esmq-wqha-mnsu.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-7qmr-esmq-wqha-mnsu.json"}},{"package":{"name":"mlflow","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/mlflow"},"versions":["3.15.1-0","3.15.2-0","3.15.2-1","3.15.2-2","3.16.0-0","3.16.1-0","3.16.1-1","3.16.1-2","3.16.1-3","3.16.1-4","3.16.1-5","3.16.1-6","3.17.0-0","3.17.0-1","3.17.1-0","3.17.2-0","3.17.2-1","3.17.2-2","3.17.2-3","3.17.2-4","3.17.2-5","3.17.2-6","3.18.0-0","3.18.0-1","3.18.0-2","3.18.0-3","3.18.0-4","3.18.0-5"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-7qmr-esmq-wqha-mnsu.json","owner_kind":"HSP"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/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"}]}