{"id":"CVE-2026-72750","aliases":["CVE-2026-72750","GHSA-652q-gvq3-74qv"],"related":[],"kind":"vulnerability","state":"published","title":"n8n before 1.123.67 SQL Injection via executeQuery Operation","summary":"n8n before 1.123.67, 2.31.5, and 2.32.1 contains a SQL injection vulnerability in the Snowflake node's Execute Query operation, which interpolates expression values directly into the SQL string. When a workflow author embeds untrusted, externally-controlled expression data directly in a raw SQL query, that data is not parameterized, allowing SQL injection. The fix adds an optional 'Query Parameters' field to bind values via positional placeholders.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"n8n before 1.123.67, 2.31.5, and 2.32.1 contains a SQL injection vulnerability in the Snowflake node's Execute Query operation, which interpolates expression values directly into the SQL string. When a workflow author embeds untrusted, externally-controlled expression data directly in a raw SQL query, that data is not parameterized, allowing SQL injection. The fix adds an optional 'Query Parameters' field to bind values via positional placeholders.","source":"cvelist"},{"lang":"en","text":"## Impact\n\nThe n8n Snowflake node's Execute Query operation interpolated expression values directly into the SQL string, making queries built with untrusted data susceptible to SQL injection.\n\nExploitation requires that a workflow author has already embedded untrusted expression data directly in a raw SQL query.\n\n## Patches\n\nThe 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 to remediate the vulnerability. The fix introduces an optional \"Query Parameters\" field that allows values to be bound via positional placeholders rather than interpolated into the query string.\n\n## Workarounds\n\nIf upgrading is not immediately possible, administrators should consider the following temporary mitigations:\n- Restrict workflow creation and editing permissions to fully trusted users only.\n- Audit existing workflows that use the Snowflake `executeQuery` operation and ensure no expression resolving to externally-controlled data is embedded directly in a raw SQL query string.\n- Restrict network access to any webhook or trigger endpoints that feed data into Snowflake `executeQuery` nodes.\n\nThese workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.","format":"markdown","source":"ghsa"},{"lang":"es","text":"n8n antes de 1.123.67, 2.31.5 y 2.32.1 contiene una vulnerabilidad de inyección SQL en la operación Execute Query del nodo Snowflake, que interpola valores de expresión directamente en la cadena SQL. Cuando un autor de flujo de trabajo incrusta datos de expresión no confiables y controlados externamente directamente en una consulta SQL sin procesar, esos datos no están parametrizados, lo que permite la inyección SQL. La solución añade un campo opcional Query Parameters para vincular valores a través de marcadores de posición posicionales.","source":"nvd"}],"published":"2026-07-22T23:20:24.000Z","modified":"2026-10-29T21:16:35.526Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.123.67","status":"affected"},{"type":"semver","version":"1.123.67","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.32.0","fixed":"2.32.1","status":"affected"},{"type":"semver","version":"2.32.1","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.0.0-rc.0","fixed":"2.31.5","status":"affected"},{"type":"semver","version":"2.31.5","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.123.67"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.32.0","status":"affected","fixed":"2.32.1"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.0.0-rc.0","status":"affected","fixed":"2.31.5"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.123.67"},{"status":"affected","fixed":"1.123.67"},{"status":"affected","introduced":"2.0.0","fixed":"2.31.5"},{"status":"affected","introduced":"2.0.0","fixed":"2.31.5"},{"status":"affected","version":"2.32.0"},{"status":"affected","version":"2.32.0"}],"vendor":"n8n","product":"n8n","cpe":"cpe:2.3:a:n8n:n8n:*:*:*:*:community:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-652q-gvq3-74qv","tags":["mitigation","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/n8n-before-sql-injection-via-executequery-operation","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/n8n-io/n8n","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.67","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.31.5","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.32.1","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-14T19:26:25.928Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72750","url":"https://www.cve.org/CVERecord?id=CVE-2026-72750","licence":"CVE Terms of Use","modified":"2026-10-29T21:16:35.526Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-652q-gvq3-74qv","url":"https://github.com/advisories/GHSA-652q-gvq3-74qv","licence":"CC-BY-4.0","modified":"2026-08-12T04:26:15.841Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72750","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72750","licence":"Public domain","modified":"2026-10-29T20:17:33.670Z"}],"updatedAt":"2026-11-25T22:59:32.241Z","epss":{"score":0.00324,"percentile":0.2751,"date":"2026-12-01T12:00:22.000Z"}}