Skip to content

CVE-2026-56351 n8n - SQL Injection in MySQL, PostgreSQL, and Microsoft SQL Nodes

MediumCVSS 5.3 EPSS 0.38%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
MySQL

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
n8n < 2.4.0 2.4.0 Fixed
npm n8n < 2.4.0 2.4.0 Fixed
npm n8n(npm) < 2.4.0 2.4.0 Fixed

Affected products

ProductAffected versionsFixed in
npm n8n < 2.4.0 2.4.0
npm n8n(npm) < 2.4.0 2.4.0
n8n < 2.4.0 2.4.0

References