---
cve: "CVE-2026-78676"
severity: "CRITICAL"
cvss: 9.3
epss: "0.4%"
vendor: "gitpython-developers"
kev: false
exploited: false
published: "2026-08-25 01:30:33"
tags: [cve, security, critical]
source: tsecurity.de CVE-Dossier
exported: "2026-09-21T11:00:52+02:00"
---

# CVE-2026-78676

> 9.3 CRITICAL · 🧪 PoC

## Beschreibung

GitPython before 3.1.59 fails to safely re-serialize multi-line git-config values during write operations, corrupting dormant quoted values into injected directives like core.hooksPath. Attackers can craft config files with embedded newlines that become live git directives after any unrelated GitPython config write, enabling arbitrary code execution via hook invocation.

## CVSS-Vektor

```
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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-284h-m62q-gf8w>
- <https://www.vulncheck.com/advisories/gitpython-before-remote-code-execution-via-config-injection>

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