Vulnerability
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.
19 advisories report this vulnerability, across 8 ecosystems.
Advisories
-
ALPINE-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…
- ALPINE-EDGE-CVE-2026-78677
- CGA-j768-w739-jhr6
-
DEBIAN-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…
-
DLA-4872-1
python-git - security update
-
DSA-6594-1
python-git - security update
-
GHSA-8mcc-hrx5-hvxc
GitPython: clone_from()/clone() omit --separate-git-dir from unsafe_git_clone_options, enabling arbitrary git-directory creation outside the destination
-
OESA-2026-3699
python-GitPython security update
-
OESA-2026-3700
python-GitPython security update
-
OESA-2026-3721
python-GitPython security update
-
PYSEC-2026-3787
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…
-
RHSA-2026:59135
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update
-
RHSA-2026:59136
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update
-
RHSA-2026:92861
Red Hat Security Advisory: Satellite 6.19 security update
-
RHSA-2026:95656
Red Hat Security Advisory: Satellite 6.17 security update
-
RHSA-2026:95657
Red Hat Security Advisory: Satellite 6.18 security update
-
SUSE-SU-2026:4072-1
Security update for python-GitPython
-
SUSEVEX-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…
-
openSUSE-SU-2026:21874-1
Security update for python-GitPython