CVE-2026-56351 PUBLISHED

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

Assigner: VulnCheck
Reserved: 20.06.2026 Published: 24.06.2026 Updated: 24.06.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
CVSS Score: 5.3

Product Status

Vendor n8n
Product n8n
Versions Default: unaffected
  • affected from 0 to 2.4.0 (excl.)
  • Version 2.4.0 is unaffected

References

Problem Types

  • Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') CWE