What’s Vulnerable › Vulnerabilities

CVE-2026-56351: 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.

Affected products

How to fix

Upgrade to a fixed version: n8n-io n8n 2.4.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-56351 or the next vulnerability affects your stack