{"id":"CVE-2026-56351","published":"2026-06-24T11:53:19Z","modified":"2026-06-24T12:42:36Z","title":"n8n - SQL Injection in MySQL, PostgreSQL, and Microsoft SQL Nodes","vendor":"n8n","product":"n8n","tier":"tail","description":{"text":"n8n before version 2.4.0 contains a sql injection vulnerability in MySQL, PostgreSQL, and Microsoft SQL nodes that allows authenticated users to inject arbitrary SQL through unescaped identifier values in node configuration parameters. Attackers with workflow creation permissions can supply specially crafted table or column names to execute unauthorized database commands and compromise data integrity.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00375,"percentile":0.23435,"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-f3f2-mcxc-pwjx","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/n8n-sql-injection-in-mysql-postgresql-and-microsoft-sql-nodes","tags":["third-party-advisory"]}],"priority":{"score":10.4,"factors":[{"name":"EPSS percentile","points":4.69},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"n8n","affectedVersions":[{"vendor":"n8n","product":"n8n","versions":["< 2.4.0"]}],"fixedVersions":[{"vendor":"n8n","product":"n8n","versions":["2.4.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-24T12:42:29.024744Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"n8n","vulnerableRanges":["<2.4.0"],"patched":["2.4.0"],"from":["GHSA-f3f2-mcxc-pwjx"],"provenance":"source"}],"summary":{"text":"The flaw is a SQL injection vulnerability in n8n before 2.4.0, within its MySQL, PostgreSQL, and Microsoft SQL nodes, where identifier values in node configuration parameters are not escaped. An attacker who is authenticated and has workflow creation permissions can supply specially crafted table or column names to run unauthorized database commands, compromising data integrity over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:32Z"},"euvd":{"id":"EUVD-2026-38753","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-n8n-cve-2026-42237","parents":[{"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"}]}]}}