llamaCVEVulnerability Intelligence
/
gitoxide

CVE-2026-40034

gitoxide - Command Injection via Partial .gitmodules Override in gix-submodule

Solo en configuraciones específicasParche disponiblecommand injection
Descargar PNG JSON
CVSS 4.0
7.3
Alta
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónPoC públicaSSVC: PoC · no figura en CISA KEV
Exploits públicos0CISA-ADP reporta PoC; aún sin enlace público
Parche4 versionesPrimer parche a -29 d de la divulgación
Exposición178 dDesde la divulgación, 26 may 2026, 9:08 a. m.
Detección149 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Modificada
Explotación
Remediación
Parche 0.83.0
Monitoreo
Detectada
Verificada
27 abr 26
26 may 26
22 oct 26
8 nov 26
18 nov 26
21 nov 26
27 abr 26
18 jun 26
9 ago 26
30 sept 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 0.83.0 gix · -29 d desde divulgación
Divulgación Publicada CVE-2026-40034 divulgada · CVSS 7.3 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Monitoreo Detectada Ingresó al índice
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen

gix-submodule before 0.29.0 (gitoxide before 0.5.21, gix before 0.84.0) incorrectly validates the update field in .gitmodules, allowing attackers to bypass the CommandForbiddenInModulesConfiguration guard when a submodule has been initialized with only partial configuration in .git/config. An attacker can inject arbitrary shell commands via the update field in .gitmodules that will be executed when Submodule::update() is called on a previously-initialized submodule, enabling remote code execution.

Affects gix-submodule before 0.29.0, gitoxide before 0.5.21, and gix before 0.84.0 when code calls Submodule::update() on an initialized submodule. Fixed in gix-submodule 0.29.0, gitoxide 0.5.21, and gix 0.84.0.

¿Qué significa?A crafted update field in a .gitmodules file can make gitoxide run attacker-supplied shell commands, which can lead to remote code execution.
¿Quién está afectado?Versions of gix-submodule before 0.29.0, gitoxide before 0.5.21, and gix before 0.84.0 are affected. The setup also requires a submodule that has already been initialized, so .git/config holds an entry for it (for example a url), and code that calls Submodule::update() on that submodule. Check the gitoxide, gix, or gix-submodule version in Cargo.lock and whether .git/config has a submodule entry.
¿Qué hacer?Upgrade to gix-submodule 0.29.0, gitoxide 0.5.21, or gix 0.84.0, depending on which crate is used. The advisory's fixed versions are these releases.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affects gix-submodule before 0.29.0, gitoxide before 0.5.21, and gix before 0.84.0“gix-submodule before 0.29.0 (gitoxide before 0.5.21, gix before 0.84.0)”
02
The submodule has already been initialized, so .git/config holds a submodule entry (for example url) for it“Once a submodule has been initialized”
03
The consuming code calls Submodule::update() on that submodule“Calls Submodule::update() to determine the update strategy”
¿Quién debe revisar?Teams running gitoxide, gix-submodule or gix (Rust) that call Submodule::update() on repos with previously-initialized submodules, or ship submodule-update tooling built on gix
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:L
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:P
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
8.4/ 10Alto
Vector 6.4 (fácil) · +2.0 por PoC pública.
Versiones

Rangos afectados

Afectada Corregida Última
gitoxide< 0.5.21
gix-submodule< 0.29.0
gix< 0.84.0
gix≥ 0.31.0 < 0.83.0
0.5.21
0.29.0
0.31.0
0.83.0
0.84.0
0.90.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
crates.iogix
Corregida 0.83.0 -29 d 0.90.0 no afectada
Versiones corregidas0.5.210.29.00.83.00.84.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-f26g-jm89-4g65
Parchehttps://github.com/GitoxideLabs/gitoxide/commit/6a2e6a436f76c8bbf2487f9967413a51356667a0
Parchehttps://github.com/GitoxideLabs/gitoxide/commit/dd5c18d9e526e8de462fa40aa047acd097cfa7dc
Otrahttps://red.anthropic.com/2026/cvd/findings/ANT-2026-6SNS6KMP
Otrahttps://www.vulncheck.com/advisories/gitoxide-command-injection-via-partial-gitmodules-override-in-gix-submodule

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.