GHSA-4WF3-RGQR-XCP3
SQL Injection in Oracle Database Node Delete Table Drop Operation
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:H
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-4WF3-RGQR-XCP3 divulgada · CVSS 7 (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 Oracle Database node's Delete Table → Drop operation inserts the table and schema values into a dynamically built PL/SQL statement without neutralising single quotes, so a quote in either field appends attacker-chosen SQL to what runs. Both fields can be bound to upstream data by expression. Where one is bound to an untrusted source, whoever controls that data can run DDL or DML against the connected database, bounded by the credential's privileges — demonstrated as the unrecoverable drop of an arbitrary table. No confidentiality impact was shown.
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 Oracle Database node workflows and ensure the `table` and `schema` fields are not bound to untrusted external data sources.
- Disable the Oracle Database node by adding `n8n-nodes-base.oracleDatabase` to the `NODES_EXCLUDE` environment variable if it is not required.
- Restrict the Oracle credential used by affected workflows to the minimum necessary privileges.
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.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-4wf3-rgqr-xcp3Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
