Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify workflow using Oracle Drop Table op
-
DeliverySupply crafted table/schema value with single quote
-
ExploitBreak out of DROP statement
-
ExecutionAppend arbitrary DDL/DML
-
ImpactExecute on Oracle with credential privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an n8n workflow that uses the Oracle Database node specifically configured for the Delete Table Drop operation, with attacker-influenceable data reaching the table or schema name fields. Exploitation is limited by this narrow configuration (reflected in CVSS AC:H/AT:P): the vulnerable node and operation must be in use, the table/schema value must be sourced from untrusted input, and impact is bounded by the privileges of the stored Oracle credential. It is not exploitable against a default install with no such workflow. |
| Impact | Multiple signals point to a real but conditional, lower-priority issue rather than a mass-exploitation threat. The vendor-supplied CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) rates it 7.0 (High) but builds that score almost entirely on subsequent-system integrity/availability (SI:H/SA:H) - i.e. impact lands on the connected Oracle database, not on n8n itself (VC:N/VI:N/VA:N). The high attack complexity (AC:H) and present attack requirement (AT:P) explicitly acknowledge exploitation is non-trivial and depends on a specific workflow configuration using the Oracle Database node's Delete Table Drop operation. There is no EPSS score, no CISA KEV listing, and no public exploit identified at time of analysis, so there is no evidence of active or automatable exploitation. The one apparent tension is PR:N (unauthenticated) versus the operational reality that an attacker must get crafted input into the table/schema fields of an existing workflow; this is consistent with n8n's untrusted-data-into-expression threat model, but defenders should verify whether their workflows actually route external input into those fields. Net: a legitimate CWE-89 flaw worth patching, but its real-world priority is gated by a narrow configuration rather than being a broadly exploitable network bug. |
| Exploit ScenarioDerived | An n8n instance runs a workflow whose Oracle Database node uses the Delete Table Drop operation, with the table or schema name populated from upstream/untrusted data (e.g. a webhook payload or prior node output). An attacker supplies a value containing a single quote plus appended SQL, which n8n concatenates into the Drop statement and executes against Oracle, running arbitrary DDL/DML with the stored credential's privileges. No public exploit code is identified at time of analysis; the single-quote injection is simple but requires the vulnerable node/operation to be configured. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 01, 2026
SQL injection in the n8n Oracle Database node's Delete Table Drop operation lets an attacker break out of the table or schema identifier with a single quote and append arbitrary SQL, which then runs against the connected Oracle database with the privileges of the stored credential. Affected releases are n8n before 1.123.80, 2.0.0 through 2.39.5, and 2.40.0 (fixed in 2.39.6 and 2.40.1 respectively); the CVSS vector records PR:N, i.e. unauthenticated, but exploitation is conditional on a workflow that actually uses the Oracle Database node's Delete Table Drop operation with table or schema values sourced from attacker-influenceable input, which is why attack complexity is rated high (AC:H/AT:P) and the issue does not affect a default install with no such workflow. Vendor patches are available and no public exploit code or confirmed active exploitation was identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade to n8n 1.123.80 (1.x line), 2.39.6 (2.0.0 through 2.39.5), or 2.40.1 (2.40.0), per the vendor advisory GHSA-4wf3-rgqr-xcp3 and the VulnCheck advisory. If upgrading is deferred, disable or remove the Oracle Database node's Delete Table Drop operation from any workflow where table or schema values can be influenced by untrusted input such as webhook bodies, chat messages, or model output; the trade-off is loss of that specific automation. Additionally, enforce a strict allowlist of permitted table and schema identifiers before they reach the node (rejecting quotes and non-identifier characters), and reduce the privileges of stored Oracle credentials so that any successful injection can only perform the DDL or DML the workflow genuinely requires, recognizing that tighter grants may break legitimate workflows that depend on broader rights. Because the n8n editor and API are the injection entry point, restrict network access to the n8n instance so it is not reachable by untrusted users, and review the connected Oracle database for unexpected DROP, ALTER, or DML activity since the injected statements inherit the credential's privileges.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a CWE-89 SQL injection in n8n, an open-source workflow automation platform, specifically in the Oracle Database node's "Delete Table Drop" operation. The node constructs an SQL statement using user-supplied table and schema names; because identifiers generally cannot be passed as bound parameters in Oracle drivers, they must instead be strictly validated or safely quoted, and that step is missing or insufficient. A single quote in either field therefore terminates the identifier context and lets the attacker append arbitrary DDL or DML statements that execute over the node's stored Oracle connection. The scope is reflected in both scoring vectors: CVSS 4.0 rates the vulnerable system itself as unaffected (VC:N/VI:N/VA:N) while rating the subsequent system high for integrity and availability (SC:N/SI:H/SA:H), and the assessed CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H) likewise places high integrity and availability impact on the external database rather than on the n8n instance. The CPE cpe:2.3:a:n8n-io:n8n covers the affected n8n releases, and the high attack complexity and P (present) attack requirements score the narrow precondition that the vulnerable node and operation must be in use and reachable by untrusted data.
Know when N8n gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
AC:H reflects the specific vulnerable node/operation configuration; S:C and I:H/A:H because impact falls on the separate connected Oracle database, not n8n itself.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
n8n versions before 1.123.80, from 2.0.0 before 2.39.6, and from 2.40.0 before 2.40.1 contain an SQL injection vulnerability in the Oracle Database node's Delete Table Drop operation. Attackers can inject single quotes in the table or schema fields to append arbitrary SQL statements and execute DDL or DML commands against the connected database with the credential's privileges.
Articles & Coverage 1
Technical POC Analysis
CWE-89 (SQL injection).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A SQL injection flaw in n8n's Oracle Database node (Delete Table Drop operation) allows an attacker to inject arbitrary SQL that executes against the connected Oracle database using the privileges of the stored n8n credential. Although rated unauthenticated with a CVSS of 7.0, exploitation depends on the organization running a workflow that uses this specific operation with table or schema values drawn from attacker-influenceable input, so default installations without such a workflow are not exposed. Leadership should care because affected organizations may face unauthorized data modification or destruction in a business-critical Oracle database, along with potential credential compromise and regulatory exposure.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with
n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical
n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft
Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin
A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w
An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac
Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP
The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability
SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute
EUVD-2026-90647
GHSA-4p39-vh7m-r689
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB