SEPTEMBER 17, 2026
Live Feed
Back to database
Case File

CVE-2026-78677

HIGH · CVSS 7.5 EPSS 0.43% Public Exploit

Source: NVD + CISA KEV + EPSS · Published 2026-08-25 · Last synced 2026-09-17

CyberRota Analysis

AI-Generated

GitPython versions prior to 3.1.59 are vulnerable to an issue where the `--separate-git-dir` option is not properly handled, allowing attackers to specify arbitrary directories for git repository metadata. This flaw can lead to unauthorized directory creation and the execution of malicious hooks, posing a significant risk to systems using this library. Organizations utilizing GitPython for automation or CI/CD processes should prioritize updating to mitigate potential exploitation.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

GitHub PoC Links

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2026-78677
Severity
HIGH
CVSS
7.5
EPSS
0.43%

Original NVD 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.

Related CVEs

Other vulnerabilities affecting the same vendor(s)