Path Traversal in Gitpython-Developers Gitpython
CVE-2026-78677
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.004 (34.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
Affected products
Weakness classification (CWE)
References
- disclosure@vulncheck.com (vendor-advisory)
- disclosure@vulncheck.com (third-party-advisory)
Frequently asked questions
- What is CVE-2026-78677?
- CVE-2026-78677 is a high-severity vulnerability in Gitpython-Developers Gitpython, classified under Path Traversal. CVSS score: 7.5/10. Published 2026-08-25.
- How severe is CVE-2026-78677?
- High severity. CVSS v3 base score is 7.5 out of 10.