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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- GitHub Security Advisory (GHSA-f3f2-mcxc-pwjx) mitigation vendor-advisory
- VulnCheck Advisory: n8n - SQL Injection in MySQL, PostgreSQL, and Microsoft SQL Nodes third-party-advisory
- github.com patch
- github.com
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product