# CVE-2026-56351: n8n - SQL Injection in MySQL, PostgreSQL, and Microsoft SQL Nodes

> CVE-2026-56351: n8n - SQL Injection in MySQL, PostgreSQL, and Microsoft SQL Nodes. CVSS 8.2 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-56351
Last updated: 2026-06-26T02:01:57Z

- Published: 2026-06-24 11:53 UTC · Updated: 2026-06-26 02:01 UTC · Assigner: VulnCheck
- CVSS: 8.2 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
- EPSS: 0.37%, 31th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-89

## 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.

## Affected vendors and products

- n8n: n8n

## Tracked companies

- [n8n](https://rewindex.com/company/n8n.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-56351)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-56351)
- [https://github.com/n8n-io/n8n/security/advisories/GHSA-f3f2-mcxc-pwjx](https://github.com/n8n-io/n8n/security/advisories/GHSA-f3f2-mcxc-pwjx)
- [https://www.vulncheck.com/advisories/n8n-sql-injection-in-mysql-postgresql-and-microsoft-sql-nodes](https://www.vulncheck.com/advisories/n8n-sql-injection-in-mysql-postgresql-and-microsoft-sql-nodes)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-56351 · Markdown: https://rewindex.com/cve/CVE-2026-56351.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-56351 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:12:28.578Z
