Skip to content
OpenAdvisories
High · 8.2 CVE-2026-56351 EUVD-2026-38753GHSA-f3f2-mcxc-pwjx

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

Published Jun 24, 2026 · Updated Jun 24, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
n8n n8n < 2.4.0 2.4.0

Affected packages

EcosystemPackageAffectedFixedRecord
npm n8n < 2.4.0 2.4.0 GHSA-f3f2-mcxc-pwjx

References