CVE-2026-56351

HIGH

n8n - SQL Injection in MySQL, PostgreSQL, and Microsoft SQL Nodes

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-f3f2-mcxc-pwjx)
https://github.com/n8n-io/n8n/security/advisories/GHSA-f3f2-mcxc-pwjx
Third Party Advisory third-party-advisory
VulnCheck Advisory: 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

Scores

CVSS v3 8.2
EPSS 0.0022
EPSS Percentile 12.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-89
Status published
Products (3)
n8n/n8n < 2.4.0 (2 CPE variants)
n8n/n8n 2.4.0
npm/n8n 0 - 2.4.0npm
Published Jun 24, 2026
Tracked Since Jun 24, 2026