Skip to content
CVE PROGRAM SOURCE RECORD5.3 Medium

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

n8n n8n

Default version status: unaffected

  • 0 to < 2.4.0affected
  • 2.4.0unaffected
pkg:npm/n8n

References