CVE-2026-78677
Last modified
CVE-2026-78677 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 0.42% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gitpython Project | Gitpython | < 3.1.59 |
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-8mcc-hrx5-hvxcExploit, Vendor Advisory
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-8mcc-hrx5-hvxcExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-78677?
How severe is CVE-2026-78677?
How do I fix CVE-2026-78677?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-7866Stack-based Buffer Overflow vulnerability in RTI Connext Pro…10
- CVE-2026-78662Previously, a channel registered in the mux's chanList is no…7.5
- CVE-2026-78668Rejected reason: reserved but not needed
- CVE-2026-7867A flaw was found in udisks2. A local attacker with an active…7.8
- CVE-2026-78675GitPython before 3.1.59 fails to disable merge_includes when…7.8
- CVE-2026-78676GitPython before 3.1.59 fails to safely re-serialize multi-l…9.8
- CVE-2026-78678GitPython versions before 3.1.59 contain an incomplete denyl…6.5
- CVE-2026-78679GitPython before 3.1.59 contains an arbitrary file read vuln…6.5
- CVE-2026-7868IBM OPENBMC FW1110.00 through FW1110.20, and FW1060.00 throu…6.5
- CVE-2026-78680NLTK versions before 3.10.3 fail to use validated absolute p…7.8
- CVE-2026-78681NLTK versions before 3.10.3 use xml.etree.ElementTree to par…7.5
- CVE-2026-78682NLTK before 3.10.3 contains a server-side request forgery vu…7.5
Are you affected by CVE-2026-78677?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
