CVE-2026-5917libgit2
Alta 8.6 Sin autenticación
Seguir: esta CVE · libgit2 · libgit2 Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 67
- CVSS 4.0
- 8.6
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 11 ago 2026
- Actualizada
- 24 sep 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-78
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/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
libgit2 versions before 1.8.7 and 1.9.0 before 1.9.7 built with the libssh2 SSH backend (USE_SSH=libssh2) contain a shell command injection vulnerability that allows remote attackers to execute arbitrary commands on an SSH server by supplying a repository path containing unescaped shell metacharacters such as single quotes, semicolons, or pipes. The gen_proto() function in ssh_libssh2.c inserts the repository path directly into a shell command string without escaping special characters before passing it to libssh2_channel_exec(), enabling an attacker to craft a malicious submodule URL in a .gitmodules file that, when processed during a recursive clone, causes the remote server's shell to interpret injected commands under the victim's SSH user account.
Qué hacer
- Aplica la actualización de seguridad del fabricante para libgit2.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Productos afectados
- libgit2 · libgit2
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Boletines oficiales
- libgit2-1_9-1.9.7-1.1 on GA media · SUSE · openSUSE-SU-2026:11521-1 · 15 ago 2026 Alta
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.