8.2Alta
CVE-2026-76222GitPython before 3.1.58 Path Traversal via .gitmodules Submodule Name
Descripción
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.
Debilidad (CWE):
CWE-22
Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.
Productos y versiones afectados
| Fabricante | Producto | Versiones | |
|---|---|---|---|
| gitpython project | gitpython | < 3.1.58 | |
| gitpython-developers | GitPython | < 3.1.58, fixed 3.1.58 |
Referencias y parches
- 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
Coincidencias CPE (NVD) (1)
cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*< 3.1.58