CVE-2026-42237 PUBLISHED

n8n: SQL Injection in Snowflake and MySQL Nodes

Assigner: GitHub_M
Reserved: 25.04.2026 Published: 04.05.2026 Updated: 04.05.2026

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.

Metrics

CVSS 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
CVSS Score: 5.3

Product Status

Vendor n8n-io
Product n8n
Versions
  • Version < 1.123.32 is affected
  • Version >= 2.17.0, < 2.17.4 is affected
  • Version >= 2.18.0, < 2.18.1 is affected

References

Problem Types

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') CWE