{"data":{"id":"39fd3a1d-643c-4aaa-b8d1-d026c80a37f2","title":"GHSA-652q-gvq3-74qv: n8n: Snowflake Node executeQuery Operation Allows SQL Injection via Unparameterized Expression Interpolation","summary":"n8n's Snowflake node had a SQL injection vulnerability (a type of attack where malicious SQL code is inserted into queries) because it directly inserted expression values into SQL strings instead of using safer methods. This only affects workflows where untrusted data is embedded directly in raw SQL queries.","solution":"The issue has been fixed in n8n versions 1.123.67, 2.31.5, and 2.32.1. Users should upgrade to one of these versions or later. The fix introduces an optional \"Query Parameters\" field that allows values to be bound via positional placeholders rather than interpolated into the query string. If upgrading is not immediately possible, temporary mitigations include: restrict workflow creation and editing permissions to fully trusted users only; audit existing workflows using the Snowflake executeQuery operation to ensure no expression resolving to externally-controlled data is embedded directly in a raw SQL query string; and restrict network access to any webhook or trigger endpoints that feed data into Snowflake executeQuery nodes. These workarounds do not fully remediate the risk and should only be used as short-term measures.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-652q-gvq3-74qv","publishedAt":"2026-07-22T23:20:24.000Z","cveId":null,"cweIds":null,"cvssScore":null,"cvssSeverity":"medium","severity":"medium","attackType":["other"],"issueType":"vulnerability","affectedPackages":["n8n@>= 2.0.0-rc.0, < 2.31.5 (fixed: 2.31.5)","n8n@>= 2.32.0, < 2.32.1 (fixed: 2.32.1)","n8n@< 1.123.67 (fixed: 1.123.67)"],"affectedVendors":[],"affectedVendorsRaw":["n8n"],"classifierModel":"claude-haiku-4-5-20251001","classifierPromptVersion":"v3","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":null,"epssScore":null,"patchAvailable":true,"disclosureDate":"2026-07-22T23:20:24.000Z","capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["integrity","confidentiality"],"aiComponentTargeted":"api","llmSpecific":false,"classifierConfidence":0.75,"researchCategory":null,"atlasIds":null}}