CVE-2025-68613

unknown KEV
Published 2025-12-22 Β· Modified 2026-03-11
CVSS v3
β€”
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4 NEW
β€”
not yet in upstream
VIR risk
2.5

Description

n8n contains an improper control of dynamically managed code resources vulnerability in its workflow expression evaluation system that allows for remote code execution.

CISA KEV

Vendor
n8n
Product
n8n
Due date
2026-03-25

Predictions

Exploit likelihood
99%
Patch ETA
β€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: GitHub Security Advisory Β· View original β†— Β· CC-BY-4.0

<h3>n8n Vulnerable to Remote Code Execution via Expression Injection</h3> Impact n8n contains a critical Remote Code Execution (RCE) vulnerability in its workflow expression evaluation system. Under certain conditions, expressions supplied by authenticated users during workflow configuration may be evaluated in an execution context that is not sufficiently isolated from the underlying runtime. An…

Workaround

s If upgrading is not immediately possible, administrators should consider the following temporary mitigations: - Limit workflow creation and editing permissions to fully trusted users only. - Deploy n8n in a hardened environment with restricted operating system privileges and network access to reduce the impact of potential exploitation. These workarounds do not fully eliminate the risk and should only be used as short-term measures.

<h3>n8n Vulnerable to Remote Code Execution via Expression Injection</h3>

Impact

n8n contains a critical Remote Code Execution (RCE) vulnerability in its workflow expression evaluation system. Under certain conditions, expressions supplied by authenticated users during workflow configuration may be evaluated in an execution context that is not sufficiently isolated from the underlying runtime.

An authenticated attacker could abuse this behavior to execute arbitrary code with the privileges of the n8n process. Successful exploitation may lead to full compromise of the affected instance, including unauthorized access to sensitive data, modification of workflows, and execution of system-level operations.

Patches

This issue has been fixed in n8n v1.122.0.

Users are strongly advised to upgrade to version 1.122.0 or later, which introduces additional safeguards to restrict expression evaluation.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations:

- Limit workflow creation and editing permissions to fully trusted users only. - Deploy n8n in a hardened environment with restricted operating system privileges and network access to reduce the impact of potential exploitation.

These workarounds do not fully eliminate the risk and should only be used as short-term measures.

Apply commands

bash fix
Upgrade n8n to 1.121.1
npm install n8n@1.121.1

Affected

VendorProductVersion
npmn8n>= 1.121.0, < 1.121.1
npmn8n>= 0.211.0, < 1.120.4

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Metasploit modules

n8n Workflow Expression Remote Code Execution
Source fetch failed: fetch_error β€” view the original via the link above.

Package impact

EcosystemPackageVulnerableFixed
npm npmn8n>=0.211.0,<1.120.41.120.4
npm npmn8n>=1.121.0,<1.121.11.121.1

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.