Amenazas en vivo

Todas las CVE / Gitpython Project

CVE-2026-67322Gitpython Project Gitpython

Alta 8.7 Sin autenticación

Prioridad
67
CVSS 4.0
8.7
EPSS
—
Requiere autenticación
No
Publicada
1 ago 2026
Actualizada
23 oct 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-200
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Qué pasa

GitPython before 3.1.52 is vulnerable to environment-variable exfiltration in Repo.clone_from(). The caller-supplied remote URL is passed through Git.polish_url(), which on non-Cygwin platforms calls os.path.expandvars() on the URL before invoking git clone. An attacker who controls the clone URL can embed $NAME or ${NAME} tokens that are expanded to the values of the hosting process's environment variables (e.g., AWS_SECRET_ACCESS_KEY or GITHUB_TOKEN). The resulting URL, now containing the secret, is transmitted over the network to an attacker-controlled host during the clone attempt, disclosing the secret.

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.52 3.1.52 pip install "gitpython>=3.1.52"
PyPI gitpython < 3.1.52 3.1.52 pip install "gitpython>=3.1.52"

Según OSV / GitHub Advisories (GHSA-rwj8-pgh3-r573, PYSEC-2026-3842). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
gitpython_projectgitpython< 3.1.52

Boletines oficiales

Además: Red Hat (+4)

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.