CVE-2026-44244
GitPython: Newline injection in config_writer().set_value() enables RCE via core.hooksPath
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 3.1.49 | gitpython · -8 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-44244 divulgada · CVSS 7.8 (CNA) | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación PoC pública | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
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.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pypigitpython |
Corregida | 3.1.49 | -8 d | 3.2.1 no afectada |
3.1.49Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-v87r-6q3f-2j67https://github.com/gitpython-developers/GitPython/releases/tag/3.1.49Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
