SQL Injection in N8n
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 integrity.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N.
EPSS exploit prediction
EPSS: 0.004 (28.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 29th percentile — 28.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- N8n — versions 0, 2.4.0
Weakness classification (CWE)
References
- github.com/n8n-io/n8n/security/advisories/GHSA-f3f2-mcxc-pwjx (vendor-advisory, Mitigation, Vendor Advisory)
- www.vulncheck.com/advisories/n8n-sql-injection-in-mysql-postgresql-and-microsof… (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-56351?
- CVE-2026-56351 is a high-severity vulnerability in N8n, classified under SQL Injection. CVSS score: 8.2/10. Published 2026-06-24.
- How severe is CVE-2026-56351?
- High severity. CVSS v3 base score is 8.2 out of 10.