llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · n8n

GHSA-4WF3-RGQR-XCP3

SQL Injection in Oracle Database Node Delete Table Drop Operation

Parche disponible
Descargar PNG JSON
CVSS 4.0
7.0
Alta
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
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche3 versionesPrimer parche el mismo día de la divulgación
Exposición64 dDesde la divulgación, 16 sept 2026, 3:23 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-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
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

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.

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:H
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:N
AltoBajoNinguno
Integridad (sistema)VI:N
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:H
AltoBajoNinguno
Disponib. (posterior)SA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
n8n< 1.123.80
n8n< 2.39.6
n8n< 2.40.1
1.123.80
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 corregidas1.123.802.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-4wf3-rgqr-xcp3

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