CVE-2026-25056

n8n Arbitrary File Write leading to RCE in n8n Merge Node

State
Published
Severity
9.4 Critical
Published
Feb 4, 2026
Updated
Feb 5, 2026
Reserved
Jan 28, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.09.4 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HGitHub_M

Weaknesses

  • CWE-434 Unrestricted Upload of File with Dangerous Type
  • CWE-693 Protection Mechanism Failure

Affected Products

ProductVersions
n8nn8n-io
  • < 1.118.0Affected
  • < 2.4.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.