llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · n8n

GHSA-5PG9-2VQX-R6JM

Unescaped Parameter Interpolation into Third-Party Query Languages Enables Filter Bypass and Bulk Data Disclosure

Parche disponible
Descargar PNG JSON
CVSS 4.0
6.9
Media
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versionesPrimer parche el mismo día de la divulgación
Exposición64 dDesde la divulgación, 16 sept 2026, 3:24 a. m.
Detección64 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Parche 2.40.1
Monitoreo
Detectada +1
16 sept 26
19 nov 26
16 sept 26
2 oct 26
18 oct 26
3 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-5PG9-2VQX-R6JM divulgada · CVSS 6.9 (GitHub)
Remediación Parche 2.40.1 n8n · 0 d desde divulgación
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Impact

The SendGrid, Freshservice, and ServiceNow nodes constructed third-party query or filter strings by directly interpolating bindable node parameters into DSL literals without neutralising the delimiter. When such a parameter is bound to untrusted external input an attacker can break out of the intended literal and widen a single-record lookup into a match-all or filter-bypass query against the upstream service. This can expose data beyond the intended record within the upstream tenant's scope, including contact lists, ticket and asset records, and directory entries.

Exploitation requires the workflow to be configured to bind the vulnerable node parameter to untrusted external input.

Patches

The issue has been fixed in n8n versions 2.40.1 and 2.39.6. 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 workflows that use the SendGrid, Freshservice, or ServiceNow nodes and ensure that filter or query parameters are not bound directly to untrusted external input such as webhook or HTTP request fields.
- Deactivate webhook-triggered workflows that pass external input into the affected nodes until the instance is patched.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:L
AltoBajoNinguno
Integridad (sistema)VI:N
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:H
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
n8n< 2.39.6
n8n< 2.40.1
2.39.6
2.40.1
2.47.7
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmn8n
Corregida 2.40.1 0 d 2.47.7 no afectada
Versiones corregidas2.39.62.40.1
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/n8n-io/n8n/security/advisories/GHSA-5pg9-2vqx-r6jm

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