7.5Alta
CVE-2026-76218GitPython before 3.1.58 Remote Code Execution via Repo.init
Descripción
GitPython before 3.1.58 contains a remote code execution vulnerability in Repo.init that forwards unsafe git options without validation. Attackers can supply a template parameter pointing to a directory with malicious git hooks that execute arbitrary code when git operations are performed on the initialized repository.
Debilidad (CWE):
CWE-88
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-9rj7-rf2p-w77r) vendor-advisoryExploitVendor Advisory
- VulnCheck Advisory: GitPython before 3.1.58 Remote Code Execution via Repo.init third-party-advisoryThird Party Advisory
Coincidencias CPE (NVD) (1)
cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*< 3.1.58