In the world of workflow automation, platforms like n8n help businesses connect various services and automate tasks seamlessly. However, even powerful tools can harbor security vulnerabilities. Recently, a significant SQL Injection vulnerability, identified as CVE-2026-42237, was discovered in n8n, posing a high risk to installations that haven’t applied the necessary updates.
CVE Details
This particular flaw affects n8n, the popular open-source workflow automation platform. It was publicly disclosed on May 4, 2026. The vulnerability carries a CVSS score of 8.8, classifying it as a High severity issue. Currently, its status is “Analyzed,” meaning the details are well-understood and fixes are available.
Affected Products
The SQL Injection vulnerability impacts specific versions of n8n, particularly those prior to versions 1.123.32, 2.17.4, and 2.18.1. The issue primarily resides in how the platform handles database interactions through its Snowflake node and the legacy MySQL v1 node. These nodes failed to properly escape user-controlled inputs, such as table and column names, directly incorporating them into SQL queries. This oversight could be exploited in n8n installations configured for enterprise use on Node.js environments.
Current Status
As of November 11, 2026, the vulnerability CVE-2026-42237 has been thoroughly analyzed. This means that the root cause, impact, and remediation steps are well-documented and understood by the n8n development team and the broader security community. While the vulnerability itself is significant, the clear analysis and available patches mean that users have a direct path to secure their systems.
Severity Level
Rated with a High severity level (CVSS score of 8.8), this SQL Injection vulnerability is a serious concern. SQL Injection flaws allow attackers to interfere with the queries an application makes to its database. Depending on the application and database, an attacker could potentially view, modify, or delete data, or even gain administrative access to the database itself. For a workflow automation platform like n8n, this could mean unauthorized access to sensitive business data or manipulation of automated processes, leading to significant operational disruption and data breaches.
Possible Solutions
The good news is that n8n developers have addressed this critical vulnerability. To protect your n8n instance from CVE-2026-42237, the most crucial step is to upgrade your installation to one of the patched versions:
- Version 1.123.32
- Version 2.17.4
- Version 2.18.1
These versions contain the necessary fixes to properly handle identifier escaping, preventing malicious inputs from being executed as SQL commands. It is highly recommended that all n8n administrators and developers review their current versions and plan for an immediate upgrade to mitigate this risk. Regular security updates are a cornerstone of maintaining a secure and resilient automation environment.
References
https://github.com/n8n-io/n8n/security/advisories/GHSA-hp3c-vfpm-q4f7