
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-33660 is a critical remote code execution (RCE) vulnerability in n8n, an open-source workflow automation platform, affecting the Merge node's "Combine by SQL" mode powered by AlaSQL. An authenticated user with workflow creation or editing permissions can exploit insufficient sandbox restrictions to read local files on the n8n host and execute arbitrary code. The vulnerability affects n8n versions prior to 1.123.27, versions 2.0.0-rc.0 through 2.13.2, and version 2.14.0 specifically. It was disclosed on March 25, 2026, with patches released the same day. The CVSS v4.0 base score is 9.4 (Critical) and the CVSS v3.1 base score is 8.8 (High) (GitHub Advisory, n8n Security Advisory).
The root cause is an insufficiently restricted AlaSQL sandbox within the Merge node's "Combine by SQL" mode, classified as CWE-94 (Code Injection) and CWE-89 (SQL Injection). AlaSQL, a JavaScript-based SQL engine, supports extended SQL syntax that can interact with the underlying filesystem and execute JavaScript code; the sandbox failed to block these dangerous SQL statements, allowing user-supplied SQL queries to escape the intended data-processing context. An attacker with low-privileged authenticated access (workflow create/edit permissions) can craft a malicious workflow containing a Merge node with SQL payloads that read arbitrary local files (e.g., /etc/passwd, credential files) or execute system commands, all over the network with no user interaction required (GitHub Advisory, n8n Security Advisory).
Successful exploitation allows an authenticated attacker to read sensitive local files on the n8n server (e.g., configuration files, credentials, private keys) and achieve full remote code execution on the host system. This can lead to complete compromise of the n8n instance, unauthorized access to integrated third-party services and credentials stored within workflows, data exfiltration, and potential lateral movement to other systems reachable from the n8n host. Both the vulnerable system and subsequent systems are rated with high confidentiality, integrity, and availability impact under CVSS v4.0 (GitHub Advisory, n8n Security Advisory).
As of the time of disclosure, there is no public proof-of-concept exploit and no confirmed evidence of in-the-wild exploitation (Feedly). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.08–0.11% (24th percentile), indicating a currently low but non-negligible probability of exploitation within 30 days. The attack requires only low-level authenticated access with no user interaction, making it relatively straightforward to exploit if credentials are obtained (GitHub Advisory). No specific threat actor attribution has been reported.
REQUIRE or filesystem-access functions to read local files (e.g., SELECT * FROM TXT('/etc/passwd')) or execute JavaScript code that spawns system commands./etc/passwd, .env, credential files) by the n8n process; new files or scripts written to the n8n working directory or temp directories.sh, bash, curl, wget, python); unusual system calls or process activity tied to the n8n service account.Users should upgrade n8n to the patched versions: 1.123.27 (for the 1.x branch), 2.13.3 (for the 2.13.x branch), or 2.14.1 (for the 2.14.x branch) (GitHub Advisory, n8n Security Advisory). If immediate upgrading is not possible, two temporary mitigations are available: (1) restrict workflow creation and editing permissions to fully trusted users only, and (2) disable the Merge node entirely by adding n8n-nodes-base.merge to the NODES_EXCLUDE environment variable. These workarounds do not fully eliminate the risk and should only be used as short-term measures while patching is underway.
The Belgian Centre for Cybersecurity (CCB) issued an advisory urging organizations to patch immediately, characterizing the vulnerabilities as critical (CCB Advisory). Heise Online covered the disclosure, describing it as "two critical malicious code vulnerabilities" threatening the n8n automation platform (Heise). Qualys published a threat protection blog post highlighting the RCE risk and the need for prompt patching. The vulnerability was also featured in The Hacker News weekly recap and Greenbone's March 2026 threat report as a notable critical risk. Community discussion on Bluesky and security news aggregators noted the low exploitation barrier given the only requirement of authenticated access with workflow permissions.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."