CVE-2026-56351
MEDIUM 5.3CVSS 4.0n8n: SQL Injection in MySQL, PostgreSQL, and Microsoft SQL nodes
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.
- Published
- 24 Jun 2026
- Last modified
- 20 Jul 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-89
- Also known as
- GHSA-f3f2-mcxc-pwjx
- Sources
- NVDJSONOSV GHSA-f3f2-mcxc-pwjxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 5.3 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* |
< 2.4.0 | 2.4.0 |
| OSV | npm | n8n | < 2.4.0 | 2.4.0 |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-f3f2-mcxc-pwjx · Mitigation, Vendor Advisory, WEB
- https://www.vulncheck.com/advisories/n8n-sql-injection-in-mysql-postgresql-and-microsoft-sql-nodes · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-56351 · ADVISORY
- https://github.com/n8n-io/n8n/commit/f73fae6fe7fc34907bba102648a9997186aa4385 · WEB
- https://github.com/n8n-io/n8n · PACKAGE
- https://github.com/n8n-io/n8n/releases/tag/n8n%402.4.0 · WEB
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 24 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Feb 2026)