Vulnerability · Published May 4, 2026 · Assigned by GitHub_M

CVE-2026-42237n8n: SQL Injection in Snowflake and MySQL Nodes

Medium 5.3

In plain English

A medium-severity SQL injection in n8n from n8n-io. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.3Medium
Exploit odds (30 days)0.3%top 83.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmn8n1.123.32GHSA-hp3c-vfpm-q4f7
npmn8n2.18.1GHSA-hp3c-vfpm-q4f7
npmn8n2.17.4GHSA-hp3c-vfpm-q4f7

Affected products (as reported)

VendorProductVersions
n8n-io n8n < 1.123.32>= 2.17.0, < 2.17.4>= 2.18.0, < 2.18.1

Weakness: CWE-89 · Vector: 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

References