---
cve: "CVE-2026-76221"
severity: "HIGH"
cvss: 8.7
epss: "37%"
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-05T17:55:05+02:00"
---

# CVE-2026-76221

> 8.7 HIGH · 🧪 PoC

## Beschreibung

GitPython before 3.1.58 contains a config-name injection vulnerability in the option-name validator that allows attackers to forge arbitrary git-config directives by injecting equals signs, hash symbols, and whitespace into option names. Attackers can inject malicious option names like 'sshCommand = touch /tmp/RCE #' to execute arbitrary commands via core.sshCommand or core.hooksPath on the next git operation.

## CVSS-Vektor

```
CVSS:4.0/AV:N/AC:L/AT:N/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 | Gering | bad |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |

## Patch verfügbar (OSV)

- 30be45d786e95023e23c616fec5cbabca861b44c (Commit)

## Referenzen

- <https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-jm78-9fvv-mhgr>
- <https://www.vulncheck.com/advisories/gitpython-before-config-injection-via-option-name>

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