ADVISORIES

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…

    CVE-2026-78677 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2026-78677
    CVE-2026-78677 Alpine Updated 18 November 2026
  • CGA-j768-w739-jhr6
    CVE-2026-78677 Chainguard Updated 5 November 2026
  • 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…

    CVE-2026-78677 Debian Updated 31 October 2026
  • DLA-4872-1

    python-git - security update

    CVE-2026-100689CVE-2026-110855CVE-2026-110856CVE-2026-110857 Debian Updated 20 November 2026
  • DSA-6594-1

    python-git - security update

    CVE-2026-42215CVE-2026-42284CVE-2026-44243CVE-2026-44244 Debian Updated 20 November 2026
  • 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

    High CVE-2026-78677 PyPI Updated 8 September 2026
  • OESA-2026-3699

    python-GitPython security update

    Critical CVE-2026-73619CVE-2026-73620CVE-2026-73621CVE-2026-73622 openEuler Updated 5 September 2026
  • OESA-2026-3700

    python-GitPython security update

    Critical CVE-2026-73619CVE-2026-73620CVE-2026-73621CVE-2026-73622 openEuler Updated 5 September 2026
  • OESA-2026-3721

    python-GitPython security update

    Critical CVE-2026-73619CVE-2026-73620CVE-2026-73621CVE-2026-73622 openEuler Updated 13 September 2026
  • 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…

    CVE-2026-78677 PyPI Updated 3 September 2026
  • RHSA-2026:59135

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update

    CVE-2026-15307CVE-2026-34993CVE-2026-39373CVE-2026-44705 Red Hat Updated 23 November 2026
  • RHSA-2026:59136

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update

    CVE-2026-12143CVE-2026-15307CVE-2026-34993CVE-2026-39373 Red Hat Updated 24 November 2026
  • RHSA-2026:92861

    Red Hat Security Advisory: Satellite 6.19 security update

    Known exploited CVE-2026-110856CVE-2026-110857CVE-2026-110858CVE-2026-110859 Red Hat Updated 23 November 2026
  • RHSA-2026:95656

    Red Hat Security Advisory: Satellite 6.17 security update

    Known exploited CVE-2026-104895CVE-2026-110264CVE-2026-110856CVE-2026-110857 Red Hat Updated 23 November 2026
  • RHSA-2026:95657

    Red Hat Security Advisory: Satellite 6.18 security update

    Known exploited CVE-2026-104895CVE-2026-110264CVE-2026-110856CVE-2026-110857 Red Hat Updated 23 November 2026
  • SUSE-SU-2026:4072-1

    Security update for python-GitPython

    CVE-2026-42215CVE-2026-42284CVE-2026-44243CVE-2026-44244 SUSE Updated 13 September 2026
  • 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…

    Important CVE-2026-78677 SUSEopenSUSE Updated 8 October 2026
  • openSUSE-SU-2026:21874-1

    Security update for python-GitPython

    CVE-2026-67322CVE-2026-67323CVE-2026-67325CVE-2026-67326 openSUSE Updated 25 September 2026

References