Skip to main content
VulnerabilityPublished

n8n: Snowflake Node executeQuery Operation Allows SQL Injection via Unparameterized Expression Interpolation

Affects n8nSource GCVE Database

0

CVSS 5.3 Medium : upgrade to 1.123.67 when convenient.

Data as of 23 Jul 2026, 01:24 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1.123.67, 2.32.1, 2.31.5
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:H/SI:H/SA:N

What to do

Upgrade n8n to 1.123.67; n8n to 2.32.1; n8n to 2.31.5.

Affected software

ProductAffectedFixed in
npmn8nAffected
  • <1.123.67
Fixed in
  • 1.123.67
npmn8nAffected
  • >=2.32.0 <2.32.1
Fixed in
  • 2.32.1
npmn8nAffected
  • >=2.0.0-rc.0 <2.31.5
Fixed in
  • 2.31.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in n8n versions 1.123.67, 2.31.5, and 2.32.1 or later. Users should upgrade to these versions to remediate the vulnerability. Until upgrading, restrict workflow creation and editing permissions to trusted users only, audit existing workflows for unsafe usage of the Snowflake executeQuery operation, and restrict network access to webhook or trigger endpoints that provide data to these nodes. These mitigations reduce risk but do not fully eliminate it.

Description

The n8n Snowflake node's Execute Query operation was vulnerable to SQL injection due to direct interpolation of expression values into SQL strings without parameterization. This vulnerability affects workflows that embed untrusted expression data directly in raw SQL queries. The issue is fixed in n8n versions 1.123.67, 2.31.5, and 2.32.1 by introducing a parameter binding feature. Temporary mitigations include restricting workflow editing to trusted users and auditing existing workflows for unsafe query usage.

References

Community reviews

Loading reviews…