Patchfirst
CVE-2025-68613 KEVPublic exploit High · 8.8 EPSS 99.0%

n8n Improper Control of Dynamically-Managed Code Resources Vulnerability

n8n · n8n

Summary

The n8n workflow automation platform has a flaw in its workflow expression evaluation system, where expressions supplied during workflow configuration may run in an execution context that is not sufficiently isolated from the underlying runtime. An attacker with only an authenticated account and no user interaction, able to supply expressions in a workflow, can execute arbitrary code with the privileges of the n8n process, which can lead to unauthorized access to sensitive data, modification of workflows, and system-level operations.

Official description · NVD

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.

Breakdown
78.0 / 100
Exploited
Yes, in CISA KEV
Reports
1
Tactics
5/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 2 months after disclosure. Public exploit code (Metasploit) was available 6 months before disclosure.

  1. Public exploit codeMetasploit6 mo before
  2. Disclosedday 0
  3. First seen exploitedVulnCheck KEV evidence+2 mo
  4. Named in a threat reportctrlaltintel.com+2 mo
  5. Added to CISA KEVEU database agrees+3 mo

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

See the family tree

2 related vulnerabilities in the same code over 10 weeks. The latest fix listed for n8n is 2.4.0.

Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. This CVECVE-2025-68613n8n Improper Control of Dynamically-Managed Code Resources19 Dec 2025KEV
  2. relatedHigh

    Why these are linked:

    CVE-2026-27577n8n: Expression Sandbox Escape Leads to RCE25 Feb 2026

Fixes in n8nnpm package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 1.120.3CVE-2026-218934 Feb 2026
  2. 1.121.0CVE-2026-218587 Jan 2026
  3. 1.121.0CVE-2026-256316 Feb 2026
  4. 1.121.1CVE-2025-6861319 Dec 2025KEV
  5. 1.121.3CVE-2026-218778 Jan 2026
  6. 1.123.2CVE-2026-250514 Feb 2026
  7. 2.0.0CVE-2025-6866826 Dec 2025
  8. 2.4.0CVE-2026-3366525 Mar 2026Latest listed

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

Initial AccessTA0001

Valid Accounts T1078 Medium also Persistence, Privilege Escalation, Stealth
AI mapping from the description · how it is exploited

Requires authenticated user with workflow permissions

expressions supplied by authenticated users during workflow configuration
From the official description (NVD) Original (opens in a new tab) ↗

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
AI mapping from the description · primary impact

Arbitrary code execution via expression evaluation

execute arbitrary code with the privileges of the n8n process
From the official description (NVD) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 151 general rules for its techniques

Rules for this CVE

0 that reference CVE-2025-68613 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: n8n.

Upgrade to 1.121.1 or later

npmnpm install n8n@1.121.1

The first fix for CVE-2025-68613.

Affected versions, by release line

If you runUpgrade to
1.121.0 up to 1.121.11.121.1
0.211.0 up to 1.120.4

Still affected on this line by CVE-2026-21858 (fixed in 1.121.0, a newer line).

1.120.4

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Named in 1 threat report
1 reportctrlaltintel.comMar 2026

Reports are matched by finding the exact id CVE-2025-68613 in their text; nobody has reviewed the match. One passage is shown per report, at most 320 characters, linked to the original.

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

6 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close