{"id":"CVE-2026-78677","published":"2026-08-25T01:30:34Z","modified":"2026-10-08T15:25:08Z","title":"GitPython before 3.1.59 Path Traversal via separate-git-dir","vendor":"gitpython-developers","product":"GitPython","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00651,"percentile":0.52151,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-8mcc-hrx5-hvxc","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/gitpython-before-path-traversal-via-separate-git-dir","tags":["third-party-advisory"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":10.43},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"gitpython-developers","affectedVersions":[{"vendor":"gitpython-developers","product":"GitPython","versions":["< 3.1.59"]}],"fixedVersions":[{"vendor":"gitpython-developers","product":"GitPython","versions":["3.1.59"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-25T15:24:35.538595Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"GitPython","vulnerableRanges":["<3.1.59"],"patched":["3.1.59"],"from":["GHSA-8mcc-hrx5-hvxc","PYSEC-2026-3787"],"provenance":"source"}],"summary":{"text":"The flaw is a path traversal in GitPython before 3.1.59, where the unsafe_git_clone_options list omits --separate-git-dir, so the separate_git_dir parameter of Repo.clone_from() and Repo.clone() can redirect repository metadata to an arbitrary filesystem location. An attacker who can supply the separate_git_dir value can cause directories to be created outside the intended clone destination, with potential hook execution as a consequence.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:47Z"},"euvd":{"id":"EUVD-2026-65223","exploited":false,"provenance":"source"}}