A AegiFlow
HIGHCVSS 8.7EPSS 0.4%

CVE-2026-78677

CVE-2026-78677 updated by NVD

Published
2026-09-08
Modified
2026-10-14
EPSS percentile
36%
Sources
github-advisory, nvd

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.

Affected packages

EcosystemPackageAffected versionsFixed versions
PyPIGitPython—3.1.59

Remediation: Upgrade to 3.1.59 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.