CVE-2026-42237: n8n - SQL Injection
- Cve: CVE-2026-42237
- Name: n8n - SQL Injection
- Description: 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.
- Impact: Attackers can execute arbitrary SQL queries on the connected database, potentially leading to data theft or modification.
- Remediation: Update to versions 1.123.32, 2.17.4, or 2.18.1 or later.
- Vulnerability type: sql_injection
- Vulnerability impact: sql_injection, data_tampering, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00254
- Epss percentile: 0.17036
- Assignee: [email protected]
- Published at: 2026-05-04T19:16:06Z
- Age in days: 204
- Modified at: 2026-11-11T23:10:00Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-42237
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/n8n-io/n8n/security/advisories/GHSA-hp3c-vfpm-q4f7 | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| n8n:n8n | = 2.18.0; >= 2.17.0, < 2.17.4; < 1.123.32 | no | nvd | /v1/products/n8n/n8n |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| n8n-io/n8n | package, security_advisory | yes | /v1/repositories/n8n-io/n8n |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 91957
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports