---
cve: "CVE-2026-76218"
severity: "HIGH"
cvss: 7.7
epss: "49%"
vendor: "gitpython-developers"
kev: false
exploited: false
published: "2026-08-19 14:17:48"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-06T05:39:20+02:00"
---

# CVE-2026-76218

> 7.7 HIGH · 🧪 PoC

## Beschreibung

GitPython before 3.1.58 contains a remote code execution vulnerability in Repo.init that forwards unsafe git options without validation. Attackers can supply a template parameter pointing to a directory with malicious git hooks that execute arbitrary code when git operations are performed on the initialized repository.

## CVSS-Vektor

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

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

## Patch verfügbar (OSV)

- 30be45d786e95023e23c616fec5cbabca861b44c (Commit)

## Referenzen

- <https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-9rj7-rf2p-w77r>
- <https://www.vulncheck.com/advisories/gitpython-before-remote-code-execution-via-repo-init>

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