Skip to content
n8nGHSA-v98v-ff95-f3cp

n8n Vulnerable to Remote Code Execution via Expression Injection

Critical9.9CVE-2025-68613 · Published Dec 22, 2025 · updated Mar 13, 2026

GitHub advisory

Affected versions

PackageAffectedFixed in
n8n
npm
>= 0.211.0, < 1.120.41.120.4
>= 1.121.0, < 1.121.11.121.1
Details and references

### 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.

CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Severity from
GitHub (reviewed advisory)
Weakness
CWE-913
Also known as
CVE-2025-68613

More n8n advisories

All n8n
DateAdvisory
Dec 262025n8n's Possible Stored XSS in "Respond to Webhook" Node May Execute Outside iframe Sandbox
CVE-2025-61914High7.3fixed in 1.114.0
Dec 262025n8n Vulnerable to Arbitrary Command Execution in Pyodide based Python Code Node
CVE-2025-68668Critical9.9fixed in 2.0.0
Dec 262025Self-hosted n8n has Legacy Code node that enables arbitrary file read/write
CVE-2025-68697High7.1fixed in 2.0.0
Dec 82025n8n vulnerable to Remote Code Execution via Git Node Custom Pre-Commit Hook
CVE-2025-65964Criticalfixed in 1.119.2
Jan 6n8n Vulnerable to RCE via Arbitrary File Write
CVE-2026-21877Critical9.9fixed in 1.121.3
Jan 7n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling
CVE-2026-21858Critical10.0fixed in 1.121.0

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.