Vulnerability Explorer›CVE-2026-78677
VULNERABILITY
CVE-2026-78677
Common Vulnerabilities and Exposures record
HIGH
Summary
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.
Risk
- CVSS
- 8.7
- Severity
- HIGH
- Vector
- 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
Timeline
- Published
- Aug 25, 2026 02:16
- Modified
- Oct 12, 2026 15:10
- Last observed
- Oct 13, 2026 17:03
CWE
Affected product identifiers
cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*