Skip to main content

n8n CVE-2026-118646

| EUVDEUVD-2026-112377 HIGH
Inefficient Regular Expression Complexity (ReDoS) (CWE-1333)
2026-10-28 disclosure@vulncheck.com GHSA-59m3-j5wq-r7rq
7.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as workflow-authoring member
  2. Delivery
    Create workflow with Read/Write Files node
  3. Exploit
    Set wildcard-heavy File(s) Selector glob
  4. Execution
    Run workflow triggering exponential regex backtracking
  5. Impact
    Block main event loop, instance unresponsive until restart

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

Requires an authenticated n8n user with member-level privileges who can create and execute workflows (PR:L confirms authentication is needed). The workflow must use the Read/Write Files from Disk node (n8n-nodes-base.readWriteFile), and the attacker must supply a wildcard-heavy File(s) Selector glob pattern that compiles to a catastrophically backtracking regular expression. Exploitation is limited by: the need for valid authenticated access with workflow create/run rights; the Read/Write Files node being enabled (it can be disabled via the NODES_EXCLUDE environment variable, which the vendor lists as a temporary mitigation); and the impact being limited to denial of service until process restart, with no data disclosure or modification.

Impact

This is a genuine but bounded availability risk, not a top-tier emergency. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) shows a network-reachable, low-complexity attack requiring low privileges (PR:L) and no user interaction, with impact confined entirely to availability of the vulnerable system (VA:H; VC:N/VI:N - no confidentiality or integrity impact and no scope/subsequent-system effect). The vuln.today decision label is 'this_week', consistent with a high-impact DoS that is gated behind authentication rather than a drop-everything scenario. No EPSS score, no CISA KEV listing, and no confirmed public exploit code were provided; the only external references are the n8n GHSA advisory and a VulnCheck advisory, both of which are vendor/coordinator write-ups rather than working exploits. The key limiting signal - PR:L plus the need to create and run a workflow using a specific node - means exploitation is restricted to users who already have authenticated, workflow-authoring access to the instance, which substantially narrows the realistic threat to insiders or attackers who have already obtained member credentials. No data here is directly conflicting; the main gap is the absence of EPSS and KEV data, so probability of mass exploitation cannot be quantified from the inputs.

Exploit ScenarioDerived

An authenticated n8n member with permission to build and execute workflows creates a workflow containing a Read/Write Files from Disk node and sets the File(s) Selector to a wildcard-heavy glob pattern. When the workflow runs, the pattern compiles to a regular expression that triggers exponential backtracking on the main event loop, freezing the entire n8n process so the UI, API, webhooks, and health checks stop responding until an administrator restarts it. No public working exploit code is identified in the provided data, though vendor and coordinator advisories describing the issue exist.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 28, 2026

An authenticated n8n member who can create and run workflows can freeze the entire instance by supplying a wildcard-heavy File(s) Selector glob pattern to the Read/Write Files from Disk node, which compiles to a catastrophically backtracking regular expression and blocks the Node.js event loop with no time limit. The result is a denial of service in which the UI, API, webhooks and health checks stop responding until the process is restarted; there is no data disclosure or modification. Affected are n8n releases before 1.123.85, before 2.43.5 and before 2.44.1, and exploitation requires a valid member-level account with workflow create/execute rights plus the readWriteFile node being enabled. No public exploit code has been identified at time of analysis, and the vendor has released fixed versions.

RemediationAI

Upgrade n8n to 1.123.85, 2.43.5 or 2.44.1 (or later) depending on the release branch in use; the vendor advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-m7gv-mpg5-7c9v lists these as the fixed versions and states that upgrading is the remediation. If upgrading immediately is not possible, the vendor describes three temporary mitigations: restrict access to the n8n instance to fully trusted users only, which reduces but does not remove the insider risk since any permitted workflow author can still trigger the pattern; disable the Read/Write Files node entirely by adding n8n-nodes-base.readWriteFile to the NODES_EXCLUDE environment variable, which removes the attack surface but breaks any legitimate workflow that reads or writes files from disk and requires a restart to take effect; and audit existing workflows for Read/Write Files nodes containing unusual File(s) Selector values and remove or correct them, which cleans up planted payloads but will not stop a determined user from creating a new one. The vendor explicitly notes these workarounds do not fully remediate the risk and are short-term measures only, so a restart of the n8n process is required to recover an instance already blocked by a crafted pattern.

Affected VersionsENISA

n8n 2.44.0 <2.44.1
n8n 0 <1.123.85
n8n 2.0.0 <2.43.5

Affected Packages

euvd n8n fix: 1.123.85, 2.43.5, 2.44.1

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

The flaw is CWE-1333 (inefficient regular expression complexity, commonly called ReDoS) in n8n's Read/Write Files from Disk node (n8n-nodes-base.readWriteFile). The node evaluates the user-supplied File(s) Selector glob pattern on the main event loop, and a pattern containing many wildcards compiles into a regular expression with exponential backtracking. Because evaluation happens on the main event loop without a time limit, a single crafted selector consumes the process for an unbounded period, starving every other task the Node.js runtime is responsible for - the web UI, the REST API, webhook handling and health-check endpoints all stop responding. The impact is bounded to availability: the vendor states the process must be restarted to recover, and no confidentiality or integrity effect is described. Authentication requirements are confirmed from the assessed CVSS vector (PR:L), meaning a member-level account with the ability to author and execute workflows is required; the trigger is specifically the conjunction of that account, the enabled file node, and a pathological glob pattern.

Know when the next one hits your stack

  • 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

Vendor (vulncheck) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-reachable workflow execution with low-privilege authenticated access and no user interaction, so AV:N/AC:L/PR:L/UI:N; impact is availability-only event-loop blocking, so C:N/I:N/A:H.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 28, 2026 - 20:04 EUVD
CVE Published
Oct 28, 2026 - 19:17 cve.org
HIGH 7.1

DescriptionCVE.org

n8n before 1.123.85, 2.43.5, and 2.44.1 contains a regular expression denial of service vulnerability that allows authenticated members to block the event loop via crafted glob patterns. Attackers who can create and run workflows can submit a wildcard-heavy File(s) Selector pattern causing exponential backtracking, making the UI, API, webhooks, and health checks unresponsive until restart.

Technical POC Analysis

CWE-1333, Inefficient Regular Expression Complexity.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity denial-of-service vulnerability in n8n, a workflow automation platform, allows any authenticated user with basic workflow creation rights to freeze the entire instance, disrupting all users and automated processes. This poses a significant operational risk because even low-privileged insiders or compromised accounts can cause an outage with a simple workflow, halting business automation and requiring manual recovery.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

Prevalence
Medium
popular self-hosted workflow automation tool, common but not everywhere
Social Media
1
Sightings
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy