Vulnerability

CVE-2026-78677

highCVSS 4.0 8.7Published 25 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Gitpython Project gitpython

Weakness type

References

  • github.com /gitpython-developers/GitPython/security/advisories/GHSA-8m…
  • www.vulncheck.com /advisories/gitpython-before-path-traversal-via-separate-gi…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning