Description
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.
Published: 2026-08-20
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via Regular Expression Execution
Action: Patch ASAP
AI Analysis

Impact

The vulnerability allows a crafted regular expression supplied to the Filter and Switch nodes to be compiled and executed synchronously on the worker thread without any safeguard. When a prompt receives an input that contains the malicious pattern, the node attempts to match it against each data item, causing the computational overhead to grow exponentially. This leads to a denial‑of‑service condition that can stall the worker thread for a extended period, blocking other workflow executions and reducing overall service availability. The weakness is a classic Regular Expression Denial of Service, identified by CWE‑1333.

Affected Systems

Affected releases include n8n v1.x prior to 1.123.69, any 2.x release before 2.33.4, and 2.34.x before 2.34.1. The product is n8n, an open‑source workflow automation engine offered by n8n‑io. Users running the specified pre‑patched versions on any platform are susceptible when they create or modify a workflow that contains a Filter or Switch node with a user controllable regular expression. Versions after the stated thresholds have the fix applied.

Risk and Exploitability

The CVSS score of 5.3 places the issue in the medium‑severity range, and the EPSS score is not available, so we cannot quantify current exploitation prevalence. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that an attacker would supply a malicious regex, typically by creating or editing a workflow that is executed by the running instance. The impact is restricted to worker threads, so the effect is primarily an availability degradation rather than privilege escalation or data exfiltration. The lack of an automatic timeout suggests the scenario is easily reproducible in a test environment and could be escalated by an attacker with workflow‑creation access or by a compromised client that submits a crafted payload to a workflow endpoint.

Generated by OpenCVE AI on August 20, 2026 at 22:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to the latest stable n8n release (v1.123.69 or newer, v2.33.4 or newer, v2.34.1 or newer) to eliminate the ReDoS flaw.
  • Remove or replace any existing Filter or Switch nodes that use user‑supplied regular expressions until an upgrade can be performed.
  • Apply an execution timeout or limit on worker thread usage in any custom deployment that cannot be upgraded immediately, if supported by deployment settings.
  • Monitor CPU utilization and workflow execution time after updates to confirm that the denial‑of‑service issue is no longer observable.

Generated by OpenCVE AI on August 20, 2026 at 22:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 22:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
cpe:2.3:a:n8n:n8n:2.34.0:*:*:*:*:node.js:*:*
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L'}


Fri, 21 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 20 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
Description 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.
Title n8n before 1.123.69 ReDoS via Filter and Switch Node
First Time appeared N8n
N8n n8n
Weaknesses CWE-1333
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV4_0

{'score': 5.3, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-21T16:42:34.601Z

Reserved: 2026-08-20T10:55:09.093Z

Link: CVE-2026-77082

cve-icon Vulnrichment

Updated: 2026-08-21T16:42:30.142Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-20T12:16:39.717

Modified: 2026-09-01T19:47:33.843

Link: CVE-2026-77082

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T13:01:59Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity