๐Ÿ” CVE Alert

CVE-2026-78677

HIGH 7.5

GitPython before 3.1.59 Path Traversal via separate-git-dir

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-22
Vendor gitpython-developers
Product gitpython
Published Aug 25, 2026
Stay Ahead of the Next One

Get instant alerts for gitpython-developers gitpython

Be the first to know when new high vulnerabilities affecting gitpython-developers gitpython are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Affected Versions

gitpython-developers / GitPython
0 < 3.1.59

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-8mcc-hrx5-hvxc vulncheck.com: https://www.vulncheck.com/advisories/gitpython-before-path-traversal-via-separate-git-dir

Credits

๐Ÿ” Pig-Tail