{"id":"CVE-2026-56351","state":"PUBLISHED","title":"n8n - SQL Injection in MySQL, PostgreSQL, and Microsoft SQL Nodes","description":"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.","publishedAt":"2026-06-24T11:53:19.047Z","updatedAt":"2026-06-24T12:42:36.248Z","severity":{"score":5.3,"label":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["n8n n8n"],"affected":[{"vendor":"n8n","product":"n8n","packageURL":"pkg:npm/n8n","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.4.0","versionType":"semver"},{"version":"2.4.0","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/n8n-io/n8n/security/advisories/GHSA-f3f2-mcxc-pwjx","https://www.vulncheck.com/advisories/n8n-sql-injection-in-mysql-postgresql-and-microsoft-sql-nodes"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/56xxx/CVE-2026-56351.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-56351","state":"PUBLISHED","datePublished":"2026-06-24T11:53:19.047Z","dateUpdated":"2026-06-24T12:42:36.248Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-06-20T18:13:07.364Z"},"containers":{"cna":{"title":"n8n - SQL Injection in MySQL, PostgreSQL, and Microsoft SQL Nodes","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n8n","product":"n8n","packageURL":"pkg:npm/n8n","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.4.0","versionType":"semver"},{"version":"2.4.0","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-f3f2-mcxc-pwjx","name":"GitHub Security Advisory (GHSA-f3f2-mcxc-pwjx)","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/n8n-sql-injection-in-mysql-postgresql-and-microsoft-sql-nodes","name":"VulnCheck Advisory: n8n - SQL Injection in MySQL, PostgreSQL, and Microsoft SQL Nodes","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM"}},{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-06-24T11:53:19.047Z"},"datePublic":"2026-02-25T00:00:00.000Z","x_generator":{"engine":"vulncheck-endgame"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*","versionEndExcluding":"2.4.0"}]}]}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-24T12:42:29.024744Z","id":"CVE-2026-56351","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-24T12:42:36.248Z"}}]}}}