Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain n8n editor credentials
-
DeliveryCreate workflow with Git clone node
-
ExploitCraft ReDoS destination path
-
ExecutionExecute workflow
-
PersistSynchronous regex hangs main event loop
-
ImpactInstance 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Network-accessible editor interface, low complexity ReDoS trigger, but PR:L required; pure availability impact with no confidentiality or integrity effect.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
EUVD-2026-74275
GHSA-j535-v25q-vx3q
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB