CVE-2026-56351

Severity CVSS v4.0:
MEDIUM
Type:
CWE-89 SQL Injection
Publication date:
24/06/2026
Last modified:
26/06/2026

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* 2.4.0 (excluding)