CVE-2026-42237
MEDIUM 5.3CVSS 4.0n8n has SQL Injection in Snowflake and MySQL Nodes
n8n is an open source workflow automation platform. Prior to versions 1.123.32, 2.17.4, and 2.18.1, the fix for GHSA-f3f2-mcxc-pwjx did not cover the Snowflake node or the legacy MySQL v1 node. Both nodes construct SQL queries by directly interpolating user-controlled table names, column names, and update keys into query strings without identifier escaping, enabling SQL injection against the connected database. This issue has been patched in versions 1.123.32, 2.17.4, and 2.18.1.
- Published
- 4 May 2026
- Last modified
- 11 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-89
- Also known as
- GHSA-hp3c-vfpm-q4f7
- Sources
- NVDJSONOSV GHSA-hp3c-vfpm-q4f7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.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 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 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:*:*:*:*:enterprise:node.js:*:* |
< 1.123.32 | 1.123.32 |
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:* |
>= 2.17.0, < 2.17.4 | 2.17.4 |
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:2.18.0:*:*:*:enterprise:node.js:*:* |
= 2.18.0 | |
| OSV | npm | n8n | < 1.123.32 | 1.123.32 |
| OSV | npm | n8n | >= 2.18.0, < 2.18.1 | 2.18.1 |
| OSV | npm | n8n | >= 2.0.0, < 2.17.4 | 2.17.4 |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-hp3c-vfpm-q4f7 · Vendor Advisory, WEB
- https://github.com/n8n-io/n8n/security/advisories/GHSA-f3f2-mcxc-pwjx · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42237 · ADVISORY
- https://github.com/n8n-io/n8n · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 4 May 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Apr 2026)