Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker identifies n8n webhook endpoint
-
DeliveryDiscovers Oracle Database node with user-input Limit field
-
ExploitCrafts SQL injection payload
-
InstallSubmits payload via webhook parameter
-
C2n8n interpolates unsanitized payload into SQL query
-
ExecuteOracle database executes injected SQL
-
ImpactAttacker exfiltrates sensitive data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires all of the following conditions to be met: (1) n8n instance must have the Oracle Database node available and not disabled via NODES_EXCLUDE; (2) a workflow must exist that uses the Oracle Database node with a select operation; (3) the Limit field must be configured with an expression that references external input (e.g., webhook parameters, API payload data, or other untrusted sources); (4) the workflow must be triggered or accessible in a way that allows the attacker to control the input passed to the Limit field (e.g., via an unauthenticated webhook endpoint, publicly accessible API trigger, or workflow exposed to an untrusted user with execution permissions). If the Limit field uses a hardcoded numeric value or a validated expression that does not reference external input, the vulnerability cannot be exploited. Authentication requirements are workflow-dependent: if the trigger is an unauthenticated webhook, exploitation is unauthenticated; if the trigger requires n8n authentication, exploitation requires compromised or legitimate credentials. |
| Impact | This vulnerability presents moderate to high real-world risk depending on workflow deployment. CVSS vector is not provided, but the attack vector is network-accessible via webhook endpoints, and complexity is low because the exploitation path is straightforward SQL injection. EPSS score is unavailable, but exploitation conditions are well-defined and narrow: the risk is NOT universal across all n8n installations but concentrated in deployments that (1) use the Oracle Database node, (2) accept external input via webhooks or similar untrusted sources, and (3) pass that input unsanitized into the Limit field. Organizations using n8n primarily for internal automation with hardened workflow creation permissions face lower risk. However, organizations exposing n8n workflows to external parties or accepting dynamic input face significant risk of SQL injection attacks and data exfiltration. The availability of vendor patches and workarounds mitigates urgency but does not eliminate risk for unpatched instances. No evidence of active exploitation in the wild has been reported, but the attack surface is real and exploitable by any authenticated workflow creator or external user with access to a vulnerable webhook. |
| Exploit ScenarioDerived | An attacker discovers an n8n workflow exposed via webhook that accepts a numeric input parameter (e.g., |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
SQL injection in n8n's Oracle Database node allows attackers to inject arbitrary SQL commands through the Limit field when user-controlled input is passed via expressions, enabling data exfiltration from connected Oracle databases. Exploitation requires a specific workflow configuration where external input (e.g., from webhooks) reaches the Limit field; authentication depends on the webhook's access controls. The vulnerability affects n8n versions prior to 1.123.32, 2.17.4, and 2.18.1, and vendor-released patches are available.
RemediationAI
Immediate remediation requires upgrading to patched versions: n8n 1.123.32 or later for 1.x deployments, n8n 2.17.4 for 2.x deployments in the 2.17 branch, or n8n 2.18.1 or later for 2.18+ deployments. Administrators unable to patch immediately should implement these compensating controls in order of priority: (1) Disable the Oracle Database node entirely by adding n8n-nodes-base.oracleDatabase to the NODES_EXCLUDE environment variable-this eliminates the attack surface but prevents any Oracle workflows from running; (2) Restrict workflow creation and editing permissions to fully trusted internal users only, preventing external or untrusted users from modifying workflows to inject malicious input; (3) Audit all existing workflows using the Oracle Database node and verify that the Limit field does not accept external input via expressions-modify workflows to use hardcoded, validated limit values instead. Workarounds do not fully remediate risk and are temporary measures only. Patch immediately when feasible.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
n8n is a workflow automation platform that includes pre-built nodes for integrating with external services, including Oracle Database. The Oracle Database node's select operation constructs SQL queries dynamically by interpolating user-provided parameters directly into the query string without parameterized query mechanisms or input sanitization. The vulnerability stems from improper input validation (CWE-20) in the Limit field, which accepts expressions that bypass SQL injection protections. When a workflow receives external input via webhook or other trigger mechanisms and passes that input through expressions into the Limit field, the unsanitized value is concatenated directly into the SQL query executed against the Oracle database backend.
Know when the next one hits your stack
- 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:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
Primary rating from Vendor (https://github.com/n8n-io/n8n) · only source for this CVE.
CVSS VectorVendor: https://github.com/n8n-io/n8n
Lifecycle Timeline
3DescriptionCVE.org
Impact
A flaw in the Oracle Database node's select operation allowed user-controlled input passed into the Limit field via expressions to be interpolated directly into the SQL query without sanitization or parameterization. In workflows where external input is passed into the Limit field (e.g., from a webhook), an attacker could inject arbitrary SQL and exfiltrate data from the connected Oracle database.
Exploitation requires a specific workflow configuration:
- The Oracle Database node must be used with user-controlled input passed via expressions into the
Limitfield. - Authentication requirements depend on the workflow's configuration (e.g., an unauthenticated webhook endpoint would allow unauthenticated exploitation).
Patches
The issue has been fixed in n8n versions 1.123.32, 2.17.4, and 2.18.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:
- Limit workflow creation and editing permissions to fully trusted users only.
- Disable the Oracle Database node by adding
n8n-nodes-base.oracleDatabaseto theNODES_EXCLUDEenvironment variable. - Avoid passing unvalidated external user input into the Oracle Database node's
Limitfield via expressions.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
EUVD-2026-27107
GHSA-r6jc-mpqw-m755
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB