CVE-2026-56351 Details
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.
A SQL injection vulnerability has been identified in n8n versions prior to 2.4.0, specifically within the MySQL, PostgreSQL, and Microsoft SQL nodes. This vulnerability allows authenticated users with workflow creation permissions to inject arbitrary SQL by exploiting unescaped identifier values in node configuration parameters. Attackers could craft specific table or column names to execute unauthorized database commands, potentially compromising data integrity.
Users are advised to upgrade to n8n version 2.4.0 or later. If an immediate upgrade is not possible, consider limiting workflow creation and editing permissions to trusted users and disabling the vulnerable database nodes by adding them to the NODES_EXCLUDE environment variable.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/n8n-io/n8n/security/advisories/GHSA-f3f2-mcxc-pwjx | [email protected] | MitigationVendor Advisory |
| https://www.vulncheck.com/advisories/n8n-sql-injection-in-mysql-postgresql-and-microsoft-sql-nodes | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| n8n n8n | < 2.4.0 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 26, 2026 | Initial Analysis | [email protected] |
| Jun 24, 2026 | New CVE Received | [email protected] |
| Jun 24, 2026 | CVE Modified | CISA-ADP |