SQL Injection Affecting n8n-nodes-base package, versions <1.121.42>=2.0.0-rc.0 <2.31.3>=2.32.0 <2.32.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-N8NNODESBASE-18322069
  • published27 Jul 2026
  • disclosed22 Jul 2026
  • creditUnknown

Introduced: 22 Jul 2026

New CVE NOT AVAILABLE CWE-89  (opens in a new tab)

How to fix?

Upgrade n8n-nodes-base to version 1.121.42, 2.31.3, 2.32.1 or higher.

Overview

n8n-nodes-base is a Base nodes of n8n

Affected versions of this package are vulnerable to SQL Injection in the executeQuery. An attacker can execute arbitrary SQL commands by injecting untrusted expression data directly into a raw SQL query string.

Note: This is only exploitable if a workflow author embeds untrusted expression data in a raw SQL query.

Workaround

This vulnerability can be mitigated by restricting workflow creation and editing permissions to fully trusted users, auditing existing workflows that use the Snowflake executeQuery operation to ensure no externally-controlled data is embedded in raw SQL queries, and restricting network access to any webhook or trigger endpoints that feed data into Snowflake executeQuery nodes.

References

CVSS Base Scores

version 4.0
version 3.1