CVE-2026-56351

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*

History

26 Jun 2026, 02:01

Type Values Removed Values Added
References () https://github.com/n8n-io/n8n/security/advisories/GHSA-f3f2-mcxc-pwjx - () https://github.com/n8n-io/n8n/security/advisories/GHSA-f3f2-mcxc-pwjx - Mitigation, Vendor Advisory
References () https://www.vulncheck.com/advisories/n8n-sql-injection-in-mysql-postgresql-and-microsoft-sql-nodes - () https://www.vulncheck.com/advisories/n8n-sql-injection-in-mysql-postgresql-and-microsoft-sql-nodes - Third Party Advisory
First Time N8n
N8n n8n
CPE cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*

24 Jun 2026, 13:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-24 13:16

Updated : 2026-06-26 02:01


NVD link : CVE-2026-56351

Mitre link : CVE-2026-56351

CVE.ORG link : CVE-2026-56351


JSON object : View

Products Affected

n8n

  • n8n
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')