GHSA-5PG9-2VQX-R6JM
Unescaped Parameter Interpolation into Third-Party Query Languages Enables Filter Bypass and Bulk Data Disclosure
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
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| 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 |
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.
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.40.1 | 0 d | 2.47.7 no afectada |
2.39.62.40.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-5pg9-2vqx-r6jmLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
