---
cve: "CVE-2026-44244"
severity: "HIGH"
cvss: 7.8
epss: "24%"
vendor: "gitpython-developers"
kev: false
exploited: false
published: "2026-05-07 18:22:39"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-05T18:43:00+02:00"
---

# CVE-2026-44244

> 7.8 HIGH · 🧪 PoC

## Beschreibung

GitPython is a python library used to interact with Git repositories. Prior to version 3.1.49, GitConfigParser.set_value() passes values to Python's configparser without validating for newlines. GitPython's own _write() converts embedded newlines into indented continuation lines (e.g. \n becomes \n\t), but Git still accepts an indented [core] stanza as a section header — so the injected core.hooksPath becomes effective configuration. Any Git operation that invokes hooks (commit, merge, checkout) will then execute scripts from the attacker-controlled path. This issue has been patched in version 3.1.49.

## CVSS-Vektor

```
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Patch verfügbar (OSV)

- aee2fd5c13770954469e650f1df8f92f0183bc70 (Commit)

## Referenzen

- <https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-v87r-6q3f-2j67>
- <https://github.com/gitpython-developers/GitPython/releases/tag/3.1.49>

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