CVE-2026-56351: n8n before version 2.4.0 contains a sql injection vulnerability in MySQL, PostgreSQL, and Microsoft SQL nodes
CVE-2026-56351 is a high-severity flaw (CVSS 8.2) affecting n8n. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.2 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 69%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2026-06-24 |
| Last modified | 2026-06-26 |
Last updated 2026-06-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-56351?
n8n: upgrade to 2.4.0. Exact commands for each OS are on this page.
Is CVE-2026-56351 being exploited?
CVE-2026-56351 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-56351 affect?
CVE-2026-56351 affects n8n. Severity is high (CVSS 8.2). 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. Atta
How urgent is CVE-2026-56351?
Priority 42/100. High severity; On your watchlist
Software pages
MySQL vulnerabilities · PostgreSQL vulnerabilities
Related CVEs
- CVE-2026-54309 CRITICAL 10.0 UPGRADE n8n is an open source workflow automation platform
- CVE-2026-54310 CRITICAL 9.9 UPGRADE n8n is an open source workflow automation platform
- CVE-2026-44789 CRITICAL 9.9 UPGRADE n8n is an open source workflow automation platform
- CVE-2026-44791 CRITICAL 9.9 UPGRADE n8n is an open source workflow automation platform
- CVE-2026-54314 HIGH 7.5 UPGRADE n8n is an open source workflow automation platform