Amenazas en vivo

Todas las CVE / Go-git Project

CVE-2026-45570Go-git Project Go-git

Baja 2.3 Sin autenticación

Prioridad
29
CVSS 4.0
2.3
EPSS
—
Requiere autenticación
No
Publicada
27 may 2026
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-116
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L/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

go-git is an extensible git implementation library written in pure Go. Prior to 5.19.1 and 6.0.0-alpha.4, go-git's SSH transport constructs the remote exec command by wrapping the repository path in single quotes without escaping single quotes embedded inside the path. A repository path containing a single quote can therefore break out of the quoted region in the exec command and be appended as additional shell tokens. This vulnerability is fixed in 5.19.1 and 6.0.0-alpha.4.

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 Go-git.
  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
Go github.com/go-git/go-git ≤ 4.7.0 sin versión corregida —
Go github.com/go-git/go-git todas sin versión corregida —
Go github.com/go-git/go-git/v5 < 5.19.1 5.19.1 go get github.com/go-git/go-git/v5@v5.19.1
Go github.com/go-git/go-git/v5 < 5.19.1 5.19.1 go get github.com/go-git/go-git/v5@v5.19.1
Go github.com/go-git/go-git/v6 < 6.0.0-alpha.4 6.0.0-alpha.4 go get github.com/go-git/go-git/v6@v6.0.0-alpha.4
Go github.com/go-git/go-git/v6 < 6.0.0-alpha.4 6.0.0-alpha.4 go get github.com/go-git/go-git/v6@v6.0.0-alpha.4

Según OSV / GitHub Advisories (GHSA-m7cr-m3pv-hgrp, GO-2026-5496). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
go-git_projectgo-git< 5.19.1
go-git_projectgo-git6.0.0
go-git_projectgo-git6.0.0
go-git_projectgo-git6.0.0

Boletines oficiales

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.