CVE-2025-68613 — Vulnerability in n8n — CVE Details
n8n Vulnerable to Remote Code Execution via Expression Injection
What Should I Do?
Patch Immediately
This vulnerability is confirmed under active exploitation (CISA KEV). Patch within 24-48 hours if possible.
Does your project use an affected n8n version?
Paste your package-lock.json to check it for CVE-2025-68613 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published December 22, 2025 (339 days ago).
- Last revised March 13, 2026 — 81 days after initial publication.
- Added to CISA's Known Exploited Vulnerabilities catalog 78 days after publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install n8n@1.121.1
npm install n8n@1.120.4
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: npm (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-913
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-v98v-ff95-f3cpWEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-68613ADVISORY
- https://github.com/n8n-io/n8n/commit/08f332015153decdda3c37ad4fcb9f7ba13a7c79WEB
- https://github.com/n8n-io/n8n/commit/1c933358acef527ff61466e53268b41a04be1000WEB
- https://github.com/n8n-io/n8n/commit/39a2d1d60edde89674ca96dcbb3eb076ffff6316WEB
- https://github.com/n8n-io/n8nPACKAGE
- https://www.akamai.com/blog/security-research/2026/feb/zerobot-malware-targets-n8n-automation-platformWEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-68613WEB
Frequently Asked Questions
- What is CVE-2025-68613?
- n8n Vulnerable to Remote Code Execution via Expression Injection. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
- How do I check if my project is affected by CVE-2025-68613?
- CVE-2025-68613 affects n8n. It has a 13.9% probability of exploitation within 30 days (EPSS score). This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, meaning it is being actively exploited in the wild. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-68613 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top 5% of EPSS-scored vulnerabilities — 97.2% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
This vulnerability is in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.
Added to KEV catalog: March 11, 2026
Remediation deadline: March 25, 2026
Also Known As
Related CVEs
- CVE-2026-44790CRITICAL
n8n Has an Arbitrary File Read via Git Node
- CVE-2026-42231CRITICAL
n8n has Prototype Pollution in XML Webhook Body Parser that Leads to RCE
- CVE-2025-61914HIGH
n8n's Possible Stored XSS in "Respond to Webhook" Node May Execute Outside iframe Sandbox
- CVE-2026-86076HIGH
n8n: Expression Sandbox Escape via Class-Field Sanitizer Rebinding Can Lead to Code Execution
- CVE-2026-65599MEDIUM
n8n: Google Service Account Private Key Exposed in JWT Header
- CVE-2026-65593MEDIUM
n8n: Authenticated SSRF via Dynamic Node Parameters Endpoints Allows Internal Network Access
- CVE-2026-59257MEDIUM
n8n: MySQL v1 Node executeQuery Operation Allows SQL Injection via Unparameterized Expression Interpolation
- CVE-2026-86074MEDIUM
n8n: Instance AI Credential Setup Accepts Unvalidated Probe URL from Fetched Content