Skip to main content

n8n CVE-2026-86081

| EUVDEUVD-2026-74275 HIGH
Inefficient Regular Expression Complexity (ReDoS) (CWE-1333)
2026-09-08 security-advisories@github.com GHSA-j535-v25q-vx3q
7.1
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Obtain n8n editor credentials
  2. Delivery
    Create workflow with Git clone node
  3. Exploit
    Craft ReDoS destination path
  4. Execution
    Execute workflow
  5. Persist
    Synchronous regex hangs main event loop
  6. Impact
    Instance becomes unresponsive (DoS)

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 workflow editor account - unauthenticated access is insufficient. The attacker must have permission to create or modify workflows and trigger their execution. The vulnerable code path is activated specifically through the Git node's clone operation with an attacker-controlled destination path. The vulnerability is present in the default configuration of n8n (no non-default settings required), but is limited to deployments running the Git node. Exploitation is constrained by the PR:L requirement: an attacker without editor credentials cannot trigger the ReDoS. The impact is limited to availability - confidentiality and integrity of data are not affected.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VA:H, score 7.1) accurately reflects the realistic attack profile: network-reachable, low complexity, but gated behind PR:L - meaning the attacker must hold an authenticated workflow-editor account. This materially reduces real-world risk compared to unauthenticated DoS vulnerabilities. No public exploit code or CISA KEV listing exists, and EPSS data is not provided. The synchronous main-thread execution amplifies severity: a single crafted execution freezes all concurrent operations, not just the attacker's session. For multi-tenant or SaaS-style n8n deployments where multiple users share an instance, a low-privileged insider or compromised editor credential becomes a viable denial-of-service vector. Single-user or tightly access-controlled deployments face substantially lower risk. Patching is the primary control given no architectural workaround short of disabling the Git node.

Exploit ScenarioDerived

An authenticated n8n workflow editor creates a workflow containing a Git node whose destination path is crafted to trigger catastrophic backtracking in the ^(./).git(/.)$ regex - for example, a long string of slashes and dots that partially matches the pattern. Executing this workflow causes the regex engine to spin indefinitely in the synchronous main process, hanging the Node.js event loop and making the n8n instance unresponsive to all users and API calls until the process is restarted. No public POC code has been identified, but the triggering input is straightforward to derive from the known regex pattern.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 08, 2026

ReDoS (regular expression denial of service) in n8n's Git node clone operation allows an authenticated workflow editor to freeze the entire n8n instance with a single workflow execution. The vulnerability stems from catastrophic backtracking in the default N8N_BLOCK_FILE_PATTERNS regex (^(./).git(/.)$), which runs synchronously in the main process against an attacker-controlled destination path. Fixed versions 1.123.76, 2.37.7, and 2.38.2 are available; no public exploit or KEV listing identified at time of analysis.

RemediationAI

Upgrade n8n to version 1.123.76 (v1 branch), 2.37.7 (v2.37 branch), or 2.38.2 (v2.38 branch). Release tags are available at https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76, https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7, and https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2. The security advisory is at https://github.com/n8n-io/n8n/security/advisories/GHSA-j535-v25q-vx3q. As a compensating control prior to patching, restrict workflow-editor access to trusted users only, as the attack requires an authenticated editor account - removing untrusted editor permissions eliminates the attack surface entirely. Overriding N8N_BLOCK_FILE_PATTERNS with a fixed, ReDoS-safe regex (e.g., using atomic groups or possessive quantifiers) is theoretically possible but requires testing against n8n's security validation logic and may break legitimate path-blocking behaviour.

Affected VersionsENISA

n8n 2.0.0, < 2.37.7
n8n 2.38.0, < 2.38.2
n8n < 1.123.76

Affected Packages

npm n8n fix: 1.123.76, 2.37.7, 2.38.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

n8n is a self-hosted, open-source workflow automation platform (npm package, Node.js). The Git node allows workflows to clone repositories, accepting a user-controlled destination path. This path is matched against the N8N_BLOCK_FILE_PATTERNS security blocklist defined in packages/@n8n/config/src/configs/security.config.ts. The default pattern ^(./).git(/.)$ exhibits CWE-1333 (Inefficient Regular Expression Complexity): the nested dot-star groups (./) and (/.) allow the regex engine to explore exponential backtrack paths when presented with a crafted input that partially matches the pattern. Because this match runs synchronously on the main n8n event loop, a single hung regex evaluation blocks all further request processing, effectively rendering the instance unavailable.

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 (github) 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-accessible editor interface, low complexity ReDoS trigger, but PR:L required; pure availability impact with no confidentiality or integrity effect.

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 (github).

CVSS VectorVendor: github

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
Sep 08, 2026 - 22:50 EUVD
CVE Published
Sep 08, 2026 - 22:19 cve.org
HIGH 7.1

DescriptionCVE.org

n8n is an open source workflow automation platform. Prior to 1.123.76, 2.37.7, and 2.38.2, the Git node clone operation matched an attacker-controlled destination path against the default N8N_BLOCK_FILE_PATTERNS regular expression. The pattern ^(./).git(/.)$ allowed catastrophic backtracking and ran synchronously in the main n8n process. An authenticated workflow editor could therefore freeze the instance with one workflow execution; the affected default is declared in packages/@n8n/config/src/configs/security.config.ts. This issue is fixed in versions 1.123.76, 2.37.7 and 2.38.2.

Technical POC Analysis

CWE-1333: regular expression denial of service (ReDoS).

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

n8n workflow automation platform versions prior to 1.123.76, 2.37.7, or 2.38.2 can be disabled by authenticated workflow editors through a denial-of-service vulnerability in the Git integration feature. This affects organizations depending on n8n for continuous automation, with the risk that malicious or negligent users can freeze the entire platform and halt all workflow execution.

Business Impact: High
Compensating Controls

Apply vendor patch: upgrade to n8n version 1.123.76, 2.37.7, or 2.38.2 or later. Interim mitigation: restrict Git node configuration and usage to trusted users, and consider disabling the Git node feature in non-critical workflows until patching is complete.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Medium
popular self-hosted workflow automation platform, growing enterprise adoption
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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 0.3%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

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