---
cve: "CVE-2026-67326"
severity: "HIGH"
cvss: 7.3
epss: "0.3%"
vendor: "gitpython-developers"
kev: false
exploited: false
published: "2026-08-01 13:17:03"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-20T23:11:21+02:00"
---

# CVE-2026-67326

> 7.3 HIGH · 🧪 PoC

## Beschreibung

GitPython before 3.1.50 fails to validate newline characters in the section parameter of config_writer(), allowing attackers to inject arbitrary section headers into .git/config. Attackers can inject newlines to create a forged [core] section with hooksPath pointing to attacker-controlled directories, achieving remote code execution when git hooks are triggered.

## CVSS-Vektor

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

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Hoch | good |
| PR Privilegien | Keine | bad |

## Patch verfügbar (OSV)

- 5a294a6fc7ed5dc0946d4b576257bf926178f269 (Commit)

## Referenzen

- <https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-mv93-w799-cj2w>
- <https://www.vulncheck.com/advisories/gitpython-before-newline-injection-via-config-writer-section>

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