9.8Crítica
CVE-2026-78676GitPython before 3.1.59 Remote Code Execution via Config Injection
Descripción
GitPython before 3.1.59 fails to safely re-serialize multi-line git-config values during write operations, corrupting dormant quoted values into injected directives like core.hooksPath. Attackers can craft config files with embedded newlines that become live git directives after any unrelated GitPython config write, enabling arbitrary code execution via hook invocation.
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.59 | |
| gitpython-developers | GitPython | < 3.1.59, fixed 3.1.59 |
Referencias y parches
- GitHub Security Advisory (GHSA-284h-m62q-gf8w) vendor-advisoryExploitVendor AdvisoryMitigation
- VulnCheck Advisory: GitPython before 3.1.59 Remote Code Execution via Config Injection third-party-advisoryThird Party Advisory
Coincidencias CPE (NVD) (1)
cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*< 3.1.59