Amenazas en vivo

Todas las CVE / Gitpython Project

CVE-2026-42284Gitpython Project Gitpython

Crítica 9.8 Sin autenticación

Prioridad
74
CVSS 3.1
9.8
EPSS
—
Requiere autenticación
No
Publicada
7 may 2026
Actualizada
11 nov 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-88
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: no · Impacto técnico: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Qué pasa

GitPython is a python library used to interact with Git repositories. Prior to version 3.1.47, _clone() validates multi_options as the original list, then executes shlex.split(" ".join(multi_options)). A string like "--branch main --config core.hooksPath=/x" passes validation (starts with --branch), but after split becomes ["--branch", "main", "--config", "core.hooksPath=/x"]. Git applies the config and executes attacker hooks during clone. This issue has been patched in version 3.1.47.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Gitpython.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
PyPI gitpython < 3.1.47 3.1.47 pip install "gitpython>=3.1.47"
PyPI gitpython < 3.1.47 3.1.47 pip install "gitpython>=3.1.47"

Según OSV / GitHub Advisories (GHSA-x2qx-6953-8485, PYSEC-2026-2161). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
gitpython_projectgitpython< 3.1.47

Boletines oficiales

Además: Red Hat (+3)

Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.