{"id":"CVE-2026-42237","published":"2026-05-04T18:39:56Z","modified":"2026-05-04T20:17:39Z","title":"n8n: SQL Injection in Snowflake and MySQL Nodes","vendor":"n8n","product":"n8n","tier":"tail","description":{"text":"n8n is an open source workflow automation platform. Prior to versions 1.123.32, 2.17.4, and 2.18.1, the fix for GHSA-f3f2-mcxc-pwjx did not cover the Snowflake node or the legacy MySQL v1 node. Both nodes construct SQL queries by directly interpolating user-controlled table names, column names, and update keys into query strings without identifier escaping, enabling SQL injection against the connected database. This issue has been patched in versions 1.123.32, 2.17.4, and 2.18.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00254,"percentile":0.17249,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-hp3c-vfpm-q4f7","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":3.45},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"n8n","affectedVersions":[{"vendor":"n8n-io","product":"n8n","versions":["< 1.123.32",">= 2.17.0, < 2.17.4",">= 2.18.0, < 2.18.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-04T20:17:33.238104Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"n8n","vulnerableRanges":["<1.123.32",">=2.18.0, <2.18.1",">=2.0.0, <2.17.4"],"patched":["1.123.32","2.18.1","2.17.4"],"from":["GHSA-hp3c-vfpm-q4f7"],"provenance":"source"}],"summary":{"text":"The flaw is a SQL injection in the Snowflake and legacy MySQL v1 nodes of n8n, an open source workflow automation platform, where user-controlled table names, column names, and update keys are interpolated directly into SQL query strings without identifier escaping. An attacker who can supply input to these node parameters with low privileges and no user interaction can inject SQL that runs against the connected database, which requires that the attacker can reach the workflow's node configuration or input path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:48Z"},"euvd":{"id":"EUVD-2026-27113","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-n8n-cve-2026-42237","children":[{"from":"CVE-2026-42237","to":"CVE-2026-56351","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-hp3c-vfpm-q4f7","via":"reference","url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-f3f2-mcxc-pwjx"}]}]}}