n8n: Snowflake Node executeQuery Operation Allows SQL Injection via Unparameterized Expression Interpolation
Affects n8nSource GCVE Database
CVSS 5.3 Medium : upgrade to 1.123.67 when convenient.
Data as of 23 Jul 2026, 01:24 UTC
- 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:NWhat to do
Upgrade n8n to 1.123.67; n8n to 2.32.1; n8n to 2.31.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmn8n | Affected
| Fixed in
|
| npmn8n | Affected
| Fixed in
|
| npmn8n | Affected
| Fixed in
|
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
- github.com/n8n-io/n8n/security/advisories/GHSA-652q-gvq3-74qv (opens in a new tab)
- github.com/n8n-io/n8n (opens in a new tab)
- github.com/n8n-io/n8n/releases/tag/n8n@1.123.67 (opens in a new tab)
- github.com/n8n-io/n8n/releases/tag/n8n@2.31.5 (opens in a new tab)
- github.com/n8n-io/n8n/releases/tag/n8n@2.32.1 (opens in a new tab)