CVE
CVE-2025-68613
n8n Vulnerable to Remote Code Execution via Expression Injection
Severity
Critical
Base CVSS
9.9
Fixed in
39a2d1d60edde89674ca96dcbb3eb076ffff6316
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.
Severity scores
Source
Severity
Base score
CVSS version
Score vector
NVD
Critical
9.9
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
OSV
0
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Endor Labs
Required action
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Known ransomware campaign use
Unknown
References
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-68613, https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68613.json, https://github.com/n8n-io/n8n/security/advisories/GHSA-v98v-ff95-f3cp, https://nvd.nist.gov/vuln/detail/CVE-2025-68613, https://www.akamai.com/blog/security-research/2026/feb/zerobot-malware-targets-n8n-automation-platform, https://github.com/n8n-io/n8n/commit/08f332015153decdda3c37ad4fcb9f7ba13a7c79, https://github.com/n8n-io/n8n/commit/1c933358acef527ff61466e53268b41a04be1000, https://github.com/n8n-io/n8n/commit/39a2d1d60edde89674ca96dcbb3eb076ffff6316
Basic information
Base CVSS
9.9
EPSS probability
1.0
EPSS percentile
0.99906
Introduced version
faae32934230ca3f0a7da1798e6737c3891ef250
Fix available
39a2d1d60edde89674ca96dcbb3eb076ffff6316
Endor Patches
Fix critical vulnerabilities instantly
Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.
Fix without upgradingGet a demo of Endor Labs today.