Description
n8n is an open source workflow automation platform. Versions starting with 0.211.0 and prior to 1.120.4, 1.121.1, and 1.122.0 contain a critical Remote Code Execution (RCE) vulnerability in their 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. This issue has been fixed in versions 1.120.4, 1.121.1, and 1.122.0. Users are strongly advised to upgrade to a patched version, which introduces additional safeguards to restrict expression evaluation. If upgrading is not immediately possible, administrators should consider the following temporary mitigations: Limit workflow creation and editing permissions to fully trusted users only; and/or 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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| n8n-io | n8n | >= 0.211.0, < 1.120.4, = 1.121.0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
n8n Workflow Expression Remote Code Execution
exploit/multi/http/n8n_workflow_expression_rce
GitHub 36 repositories · most starred shown
-
wioui/n8n-CVE-2025-68613-exploit ★ 108 · Dec 22, 2025
CVE-2025-68613: n8n RCE vulnerability exploit and documentation
-
TheStingR/CVE-2025-68613-POC ★ 29 · Dec 22, 2025
Public PoC + Scanner and research for CVE-2025-68613: Critical RCE in n8n Workflow Automation via Expression Injection (CVSS 10.0). Includes detection tools, full exploit, and remediation guidance.
-
rxerium/CVE-2025-68613 ★ 27 · Dec 22, 2025
Detection for CVE-2025-68613
-
LingerANR/n8n-CVE-2025-68613 ★ 7 · Dec 26, 2025
This laboratory provides a controlled environment to analyze and reproduce CVE-2025-68613 in a vulnerable n8n instance.
-
hackersatyamrastogi/n8n-exploit-CVE-2025-68613-n8n-God-Mode-Ultimate ★ 5 · Dec 25, 2025
n8n God Mode Ultimate - CVE-2025-68613 Scanner v1.0.0 ║ ║ Workflow Automation Remote Code Execution
-
mbanyamer/n8n-Authenticated-Expression-Injection-RCE-CVE-2025-68613 ★ 2 · Dec 25, 2025
Proof-of-Concept exploit for CVE-2025-68613: Authenticated Remote Code Execution in n8n via Expression Injection
-
Khin-96/n8n-cve-2025-68613-thm ★ 1 · Dec 26, 2025
-
J4ck3LSyN-Gen2/n8n-CVE-2025-68613-TryHackMe ★ 1 · Dec 26, 2025
The minor methodology for room: https://tryhackme.com/room/n8ncve202568613
-
JohannesLks/CVE-2025-68613-Python-Exploit ★ 1 · Dec 25, 2025
Python Exploit for CVE-2025-68613.
-
RianJuniorSf/Analysis-And-POC-N8N-CVE-2025-68613 ★ 1 · Dec 25, 2025
Technical study of the CVE-2025-68613 vulnerability in n8n, covering affected versions, laboratory exploration scenario, offensive and defensive analysis, and mitigation strategies.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- n8n - Remote Code Execution via Expression Injection http/cves/2025/CVE-2025-68613.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | n8n | >= 0.211.0, < 1.120.4 | 1.120.4 | GHSA-v98v-ff95-f3cp |
| npm | n8n | >= 1.121.0, < 1.121.1 | 1.121.1 | GHSA-v98v-ff95-f3cp |
Advisories 1
- WID-SEC-2026-0040 n8n: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 11, 2026
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-v98v-ff95-f3cp
- https://github.com/n8n-io/n8n/commit/08f332015153decdda3c37ad4fcb9f7ba13a7c79
- https://github.com/n8n-io/n8n/commit/1c933358acef527ff61466e53268b41a04be1000
- https://github.com/n8n-io/n8n/commit/39a2d1d60edde89674ca96dcbb3eb076ffff6316