CVE-2026-25049CWE-913

n8n Has an Expression Escape Vulnerability Leading to RCE

Critical · published February 4, 2026

CVSS v4.0
9.4
EPSS
2%
Percentile
75.4
In the wild
Unconfirmed
What it is

🚨 A crafty user can execute system commands just by manipulating workflow parameters in n8n! 🔥 Imagine a chef who has the power to change the menu just by scribbling notes in the ingredient list — this could lead to some unexpected and dangerous dishes! This vulnerability allows an authenticated user to trigger unintended system command execution, giving them the power to run arbitrary commands on the host machine. That's like letting a rogue chef into the kitchen and letting them whip up anything they want — potentially devastating if not addressed!

Put simply

Imagine a chef who has the power to change the menu just by scribbling notes in the ingredient list — this could lead to some unexpected and dangerous dishes! Prior to versions 1.123.17 and 2.5.2, n8n permitted an authenticated user to exploit crafted expressions in workflow parameters, leading to unauthorized command execution on the host system.

What to do

This vulnerability allows an authenticated user to trigger unintended system command execution, giving them the power to run arbitrary commands on the host machine. That's like letting a rogue chef into the kitchen and letting them whip up anything they want — potentially devastating if not addressed! Immediately update n8n to versions 1.123.17 or 2.5.2 to close this security hole. Additionally, review user permissions to ensure that only trusted users can create or modify workflows. It's crucial to implement ongoing security audits as part of your workflow processes! You've got this! Follow these steps, and you'll have a fortified n8n environment in no time. 🛡️

The record
Technical detail
CVSS v4.0
9.4 · CRITICAL
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
EPSS
0.01586 · 75.4th percentile
Weakness
CWE-913 · Improper Control of Dynamically-Managed Code Resources
Published
2026-02-04T16:46Z
EPSS history
Timeline
  • 04 FEB 16:46Z
    n8n Has an Expression Escape Vulnerability Leading to RCE
    cvelistv5