Description
n8n is an open source workflow automation platform. Prior to versions 1.118.0 and 2.4.0, a vulnerability in the Merge node's SQL Query mode allowed authenticated users with permission to create or modify workflows to write arbitrary files to the n8n server's filesystem potentially leading to remote code execution. This issue has been patched in versions 1.118.0 and 2.4.0.
Published: 2026-02-04
Score: 9.4 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The flaw exists in the Merge node’s SQL query mode, letting authenticated users who can create or edit workflows write arbitrary files to the server’s file system. If those files contain executable code, the attacker can run code with the privileges of the n8n process, achieving remote code execution. This is an instance of uncontrolled file creation combined with improper permission checks.

Affected Systems

n8n‑io’s n8n workflow automation platform. All releases before 1.118.0 or 2.4.0 are vulnerable; upgrading to these or later versions removes the issue.

Risk and Exploitability

The CVSS score is 9.4, indicating a highly severe vulnerability. The EPSS score is under 1 %, suggesting the current exploitation probability is low but not zero. The vulnerability is not listed in the KEV catalog, so no active exploits are publicly known. Exploitation requires authenticated access to the workflow editor and permission to create or modify workflows; once a malicious file is written, arbitrary code can run on the host.

Generated by OpenCVE AI on April 18, 2026 at 13:47 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade n8n to version 1.118.0 or later, or 2.4.0 or later, to apply the vendor fix.
  • Restrict workflow editor permissions so that only trusted users can create or modify workflows, limiting the potential attack surface.
  • Implement file‑system monitoring (e.g., using auditd) to detect unexpected writes to critical directories and trigger alerts.

Generated by OpenCVE AI on April 18, 2026 at 13:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-hv53-3329-vmrm n8n Merge Node has Arbitrary File Write leading to RCE
History

Thu, 05 Feb 2026 20:45:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Thu, 05 Feb 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 04 Feb 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared N8n
N8n n8n
Vendors & Products N8n
N8n n8n

Wed, 04 Feb 2026 17:15:00 +0000

Type Values Removed Values Added
Description n8n is an open source workflow automation platform. Prior to versions 1.118.0 and 2.4.0, a vulnerability in the Merge node's SQL Query mode allowed authenticated users with permission to create or modify workflows to write arbitrary files to the n8n server's filesystem potentially leading to remote code execution. This issue has been patched in versions 1.118.0 and 2.4.0.
Title n8n Arbitrary File Write leading to RCE in n8n Merge Node
Weaknesses CWE-434
CWE-693
References
Metrics cvssV4_0

{'score': 9.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-02-05T14:33:28.230Z

Reserved: 2026-01-28T14:50:47.888Z

Link: CVE-2026-25056

cve-icon Vulnrichment

Updated: 2026-02-05T14:23:18.223Z

cve-icon NVD

Status : Analyzed

Published: 2026-02-04T17:16:23.647

Modified: 2026-02-05T20:42:20.263

Link: CVE-2026-25056

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-18T14:00:02Z

Weaknesses