---
cve: "CVE-2026-78677"
severity: "HIGH"
cvss: 8.7
epss: "0.4%"
vendor: "gitpython-developers"
kev: false
exploited: false
published: "2026-08-25 01:30:34"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-21T06:29:26+02:00"
---

# CVE-2026-78677

> 8.7 HIGH · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |

## Patch verfügbar (OSV)

- 66340d77aab9a7468f4aed3681d4ef1e3c0ec931 (Commit)

## Referenzen

- <https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-8mcc-hrx5-hvxc>
- <https://www.vulncheck.com/advisories/gitpython-before-path-traversal-via-separate-git-dir>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-78677) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
