Skip to content
CriticalVulnerability

GHSA-hv53-3329-vmrm: n8n Merge Node has Arbitrary File Write leading to RCE

Published
Record updated
View JSON
Affected
  • n8n < 1.118.0, fixed in 1.118.0
  • n8n >= 2.0.0, < 2.4.0, fixed in 2.4.0
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.7%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

An authenticated user who can create or modify workflows could abuse the Merge node's SQL Query mode in n8n to write arbitrary files to the server's filesystem. This may lead to remote code execution, tracked as GHSA-hv53-3329-vmrm.

Mitigation

The issue is fixed in n8n version 2.4.0 and 1.118.0; users should upgrade to these versions or later. If upgrading is not immediately possible, administrators should limit workflow creation and editing permissions to fully trusted users only, disable or restrict the Merge node if it is not essential, and review workflows for suspicious use of the Merge node's SQL Query mode. These workarounds do not fully remediate the risk and should only be short-term measures.