Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privileged n8n account
-
DeliveryCreate Filter or Switch node with catastrophic backtracking regex
-
ExploitExecute workflow against large non-matching dataset
-
ExecutionBlock worker thread synchronously
-
ImpactDelay all co-located workflow executions
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Regex complexity limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated n8n user account with privileges to create or modify workflows - this is a standard user capability in n8n, not limited to administrators. The specifically vulnerable feature is the Filter node or Switch node when configured to use user-supplied regular expression patterns, which is their intended normal operation. The attacker must be able to save a crafted regex to a workflow node and trigger that workflow's execution against input data. Exploitation is bounded by: (1) authenticated access (PR:L per CVSS 4.0 vector - unauthenticated external attackers cannot reach the vulnerable code path); (2) possession of workflow create or edit permissions; (3) ability to trigger workflow execution. Non-default conditions are not required - regex-based Filter and Switch nodes are a core, default-enabled feature. The primary limiting factor is the authentication and workflow-authoring privilege requirement. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N) places this as a moderate-severity availability issue requiring low-privileged authenticated access with no additional complexity. There is no confidentiality or integrity impact and no subsequent-system impact, confining the damage to worker-thread availability within the vulnerable n8n instance. No EPSS score was supplied in the provided intelligence; exploitation probability cannot be independently quantified here. CISA KEV status is unconfirmed - no active exploitation evidence exists in the supplied data. The real-world priority is context-dependent: multi-tenant or shared n8n deployments where untrusted users can author workflows face meaningful risk, because workflow editing is a standard user capability rather than an admin-only function. Single-operator or tightly access-controlled deployments where all workflow authors are trusted face substantially lower risk despite the network-accessible vector. The per-item amplification is the most operationally significant factor - a single malicious workflow processing a large dataset can sustain prolonged worker blockage, cascading delays to unrelated workflow executions sharing that worker. |
| Exploit ScenarioDerived | An authenticated n8n user with workflow editing access creates a Filter node containing a catastrophic backtracking regex such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
ReDoS in n8n's Filter and Switch nodes allows an authenticated workflow author to monopolize a worker thread indefinitely by supplying a catastrophic backtracking regex compiled via new RegExp() without complexity validation or execution timeout. Affected are n8n versions before 1.123.69, 2.x before 2.33.4, and 2.34.x before 2.34.1; per-item execution amplifies the impact proportionally to dataset size, stalling all concurrent workflows on the same worker. No public exploit code or CISA KEV listing has been identified at time of analysis.
RemediationAI
Upgrade n8n to 1.123.69 or later (1.x branch), 2.33.4 or later (2.x branch), or 2.34.1 or later (2.34.x branch) per the vendor advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-q3fv-295f-qfpf. If immediate patching is not feasible, restrict workflow creation and editing privileges exclusively to fully trusted users, eliminating untrusted parties' ability to supply arbitrary regex patterns to Filter or Switch nodes - note this is an access-control change that may impact platform utility in multi-user environments. As a secondary compensating control, deploy n8n with isolated per-workflow worker processes where infrastructure supports it, so a blocked worker does not cascade to unrelated executions; this requires architectural changes and does not eliminate the underlying flaw. Monitoring worker CPU utilization for sustained spikes during Filter or Switch node execution can help detect active abuse.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
n8n (cpe:2.3:a:n8n-io:n8n) is a Node.js-based workflow automation platform. Its Filter and Switch nodes accept user-defined conditional logic including regex patterns, which are compiled directly via JavaScript's new RegExp() constructor. CWE-1333 (Inefficient Regular Expression Complexity) describes the root cause: certain syntactically valid patterns - typically those with nested or overlapping quantifiers such as (a+)+ - cause the regex engine to explore an exponentially growing set of match paths on non-matching input, a phenomenon known as catastrophic backtracking. Because n8n executes these patterns synchronously on the worker thread and Node.js workers are single-threaded, a blocking regex evaluation prevents any other queued work on that worker from proceeding. The absence of a complexity gate (e.g., linear-time engine enforcement) or an execution timeout at the node level is the specific missing control identified by this CVE.
Know when N8n gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Low-privileged authentication required to author workflows; availability impact is partial worker blocking, not full system denial; no scope change beyond the affected worker.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
n8n before 1.123.69, 2.x before 2.33.4, and 2.34.x before 2.34.1 contains a regular expression denial of service (ReDoS) vulnerability in the Filter and Switch nodes, which compile user-supplied regex patterns with new RegExp() and execute them synchronously on the worker thread without complexity validation or execution timeout. A crafted regex pattern can block the worker for an extended period per data item processed, delaying other workflow executions on the same worker.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with
n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical
n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft
Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin
A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w
Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP
The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability
SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute
Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox
EUVD-2026-63270
GHSA-jxf5-f3hg-vxvj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB