N8n-io n8n
n8n: SQL Injection in Oracle Database Node via Limit Field
n8n is an open source workflow automation platform. Prior to versions 1.123.32, 2.17.4, and 2.18.1, 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. This issue has been patched in versions 1.123.32, 2.17.4, and 2.18.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.123.32
- >= 2.17.0, < 2.17.4
- >= 2.18.0, < 2.18.1
Fixed in 1.123.32, 2.17.4, 2.18.1
Mitigation
Upgrade n8n to 1.123.32 or 2.17.4 or 2.18.1 or later.
References
- Vendor advisory github.com/n8n-io/n8n/security/advisories/GHSA…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.