CVE-2026-56351
n8n before version 2.4.0 contains a sql injection vulnerability in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/n8n-io/n8n/security/advisories/GHSA-f3f2-mcxc-pwjx
- www.vulncheck.com/advisories/n8n-sql-injection-in-mysql-postgresql-and-microsoft-sql-nodes
- github.com/n8n-io/n8n/commit/f73fae6fe7fc34907bba102648a9997186aa4385
- github.com/n8n-io/n8n/releases/tag/n8n%402.4.0
- github.com/advisories/GHSA-f3f2-mcxc-pwjx
- nvd.nist.gov/vuln/detail/CVE-2026-56351
- nvd.nist.gov/vuln/detail/CVE-2026-56351
- cve.org/CVERecord?id=CVE-2026-56351
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.