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 une...
Date: 2026-06
Affected: n8n/n8n
Attack vector: sql-injection
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2026-42237
CVE-2026-56351
CWE: CWE-89
CVSS: 8.2 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):