8.2Hoch
CVE-2026-76222GitPython before 3.1.58 Path Traversal via .gitmodules Submodule Name
Beschreibung
GitPython before 3.1.58 fails to validate submodule names from .gitmodules files, allowing attackers to create Git repositories at arbitrary filesystem paths outside the intended clone directory. Attackers can craft malicious repositories with traversal sequences in submodule names that GitPython processes during submodule initialization, creating attacker-controlled Git repositories at escaped filesystem locations.
Schwachstellentyp (CWE):
CWE-22
Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.
Betroffene Produkte und Versionen
| Hersteller | Produkt | Versionen | |
|---|---|---|---|
| gitpython project | gitpython | < 3.1.58 | |
| gitpython-developers | GitPython | < 3.1.58, fixed 3.1.58 |
Referenzen und Patches
- GitHub Security Advisory (GHSA-hmq2-w58f-27jc) vendor-advisoryExploitVendor Advisory
- VulnCheck Advisory: GitPython before 3.1.58 Path Traversal via .gitmodules Submodule Name third-party-advisoryThird Party Advisory
CPE-Treffer (NVD) (1)
cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*< 3.1.58