All vulnerabilities

Servers and applications

CVE-2026-56351

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…

Severity
Medium 5.3
Published
24 Jun 2026
Last changed
26 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.4.0
Exploit chance
0.4% in the next 30 daysHigher than 32% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
SQL injection (CWE-89)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
n8nServers and applications · cpe:a:n8n:n8n
  • Every version before 2.4.0

About n8n

low-code automation tool

From Wikidata, CC0 1.0.
Weekly downloads (npm)
103,525npm, 15 Nov 2026
Docker Hub pulls
286,090,810Docker Hub, 15 Nov 2026
GitHub stars
210,541GitHub, 15 Nov 2026
Forks
61,525GitHub, 15 Nov 2026
Latest release
[email protected]GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
Written in
TypeScript, Node.jsWikidata
First released
2019Wikidata
First published on GitHub
22 Jun 2019GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-56351
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-56351