SQL Injection Affecting n8n-nodes-base package, versions <1.121.23>=2.0.0-rc.0 <2.17.2>=2.18.0 <2.18.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-N8NNODESBASE-16353435
  • published3 May 2026
  • disclosed29 Apr 2026
  • creditpawbednarz

Introduced: 29 Apr 2026

NewCVE-2026-42233  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade n8n-nodes-base to version 1.121.23, 2.17.2, 2.18.1 or higher.

Overview

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to SQL Injection via the Limit field in the Oracle Database node when user-controlled input is passed through expressions without proper sanitization or parameterization. An attacker can execute arbitrary SQL commands and exfiltrate data from the connected Oracle database by injecting malicious input into the Limit field.

Note: This is only exploitable if the Oracle Database node is configured to accept external input into the Limit field, such as from a webhook, and the workflow allows unauthenticated or untrusted access.

Workaround

This vulnerability can be mitigated by limiting workflow creation and editing permissions to fully trusted users, disabling the Oracle Database node by adding n8n-nodes-base.oracleDatabase to the NODES_EXCLUDE environment variable, or avoiding unvalidated external user input in the Limit field when using expressions.

CVSS Base Scores

version 4.0
version 3.1