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

- Severity: Medium 5.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2026-02-26T15:56:31.000Z
- Modified: 2026-07-20T21:46:41.401Z
- Also known as: GHSA-f3f2-mcxc-pwjx
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- n8n n8n: before 2.4.0 (not affected: 2.4.0)
- n8n (npm): before 2.4.0

## Every score

- VulnCheck: CVSS:4.0 5.3 Medium `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`
- VulnCheck: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.2 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`

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

## Sources

- CVE List: [CVE-2026-56351](https://www.cve.org/CVERecord?id=CVE-2026-56351), CVE Terms of Use, modified 2026-06-24
- GitHub Advisory Database: [GHSA-f3f2-mcxc-pwjx](https://github.com/advisories/GHSA-f3f2-mcxc-pwjx), CC-BY-4.0, modified 2026-07-20
- NVD: [CVE-2026-56351](https://nvd.nist.gov/vuln/detail/CVE-2026-56351), Public domain, modified 2026-06-26

---

Page: https://cve.day/CVE-2026-56351 · Whole record: https://cve.day/CVE-2026-56351.json · Rebuilt by cve.day 2026-11-25T22:59:25.602Z
