All vulnerabilities

Servers and applications

GHSA-4wf3-rgqr-xcp3

SQL Injection in Oracle Database Node Delete Table Drop Operation

Severity
High 7.0
Published
16 Sept 2026
Last changed
16 Sept 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.123.80, 2.39.6, 2.40.1
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
CVSS vector
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
Sources
Project advisories (GitHub)

Description

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.

From n8n-io/n8n's security advisory.

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.
Workarounds as given by n8n-io/n8n's security advisory.

Affected software

SoftwareAffected versions
n8nServers and applications · github:n8n-io/n8n
  • Every version before 2.40.1
  • Every version before 2.39.6
  • Every version before 1.123.80

About n8n

low-code automation tool

From Wikidata, CC0 1.0.
Weekly downloads (npm)
103,525npm, 15 Nov 2026
Docker Hub pulls
286,090,810Docker Hub, 15 Nov 2026
GitHub stars
210,541GitHub, 15 Nov 2026
Forks
61,525GitHub, 15 Nov 2026
Latest release
[email protected]GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
Written in
TypeScript, Node.jsWikidata
First released
2019Wikidata
First published on GitHub
22 Jun 2019GitHub

References