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)
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.007 (49.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 50th percentile — 49.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.007 · change: +0.002
Affected products
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-8mcc-hrx5-hvxc) (vendor-advisory, Exploit, Vendor Advisory)
- VulnCheck Advisory: GitPython before 3.1.59 Path Traversal via separate-git-dir (Third Party Advisory, 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.