GHSA-RQCH-9JRH-CR8W
Path Traversal and Query Injection via the Supabase Node Table Name
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:H
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-RQCH-9JRH-CR8W divulgada · CVSS 7.1 (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 Supabase node inserted the tableId parameter into the request path without validation, and the parameter accepts expressions, so it could be bound to untrusted input. A traversal sequence reached Supabase's Auth and Storage APIs carrying the administrative serviceRole key, which bypasses Row Level Security; a query separator let injected text widen column projections and row filters, including on update and delete. All five row operations are affected.
Only workflows that bind tableId to untrusted input are exploitable.
Patches
The issue has been fixed in n8n versions 1.123.80, 2.39.6, and 2.40.1. 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 all workflows using the Supabase node and ensure the table name parameter is not bound to an expression referencing external or untrusted input.
- Disable the Supabase node by adding `n8n-nodes-base.supabase` to the `NODES_EXCLUDE` environment variable if it is not required.
- Rotate the Supabase `serviceRole` key for any instance where a vulnerable workflow configuration may have been exposed.
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 |
1.123.802.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-rqch-9jrh-cr8wLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
