GHSA-X8WX-G24X-3549
Code Execution in the Git Node Log Operation via Unneutralized Repository Configuration
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-X8WX-G24X-3549 divulgada · CVSS 7.7 (GitHub) | |
| Remediación | Parche 2.42.1 | n8n · 0 d desde divulgación | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Impact
A repository's local configuration can name programs that git will execute, so the Git node strips it before running any command. One operation never applied that protection, and it is the operation that invokes an external program. A member who can point the node at a repository whose local configuration they control obtains program execution as the n8n process user under default settings. The node is also usable as an agent tool.
Patches
The issue has been fixed in n8n versions 1.123.83, 2.42.1 and 2.41.4. Users should upgrade to one of these versions or later to remediate the vulnerability.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Restrict n8n instance access to fully trusted users only.
- Audit the file-access root for repositories whose local git configuration contains unexpected program-execution keys and remove or correct them.
- Disable the Git node by adding `n8n-nodes-base.git` to the `NODES_EXCLUDE` environment variable if it is not required.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmn8n |
Corregida | 2.42.1 | 0 d | 2.47.7 no afectada |
1.123.832.41.42.42.1Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/n8n-io/n8n/security/advisories/GHSA-x8wx-g24x-3549Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
