CVE-2026-71539: CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition in n8n-io n8n
n8n is an open source workflow automation platform. Prior to 1.123.64, 2.29.8, and 2.30.1, the Git node clone operation allows an authenticated workflow user to swap a validated directory for a symlink before cloning, planting a crafted repository in the community node directory that loads as a custom JavaScript node after restart and executes arbitrary code on the server. This issue is fixed in versions 1.123.64, 2.29.8, and 2.30.1.
AI Analysis
Technical Summary
The vulnerability is a time-of-check to time-of-use (TOCTOU) race condition in n8n's Git node clone operation. Before versions 1.123.64, 2.29.8, and 2.30.1, an authenticated user can replace a validated directory with a symbolic link prior to cloning a repository. This manipulation allows the attacker to place a malicious repository in the community node directory. Upon restarting n8n, the malicious repository loads as a custom JavaScript node, resulting in arbitrary code execution on the server. The issue is fixed in the specified versions.
Potential Impact
Successful exploitation results in arbitrary code execution on the server hosting n8n, compromising confidentiality, integrity, and availability of the system. The attacker must be an authenticated workflow user. The vulnerability has a CVSS 4.0 score of 8.9, indicating high severity with network attack vector, high impact on all security properties, and requiring low privileges but with high complexity and partial user interaction.
Mitigation Recommendations
This vulnerability is fixed in n8n versions 1.123.64, 2.29.8, and 2.30.1. Users should upgrade to one of these versions or later to remediate the issue. No other remediation or temporary fixes are indicated. Patch status is confirmed by the vendor's versioning information in the description.
CVE-2026-71539: CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition in n8n-io n8n
Description
n8n is an open source workflow automation platform. Prior to 1.123.64, 2.29.8, and 2.30.1, the Git node clone operation allows an authenticated workflow user to swap a validated directory for a symlink before cloning, planting a crafted repository in the community node directory that loads as a custom JavaScript node after restart and executes arbitrary code on the server. This issue is fixed in versions 1.123.64, 2.29.8, and 2.30.1.
CVSS v4.0
Score 8.9high
Affected software
pkg:github/n8n-io/n8nRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability is a time-of-check to time-of-use (TOCTOU) race condition in n8n's Git node clone operation. Before versions 1.123.64, 2.29.8, and 2.30.1, an authenticated user can replace a validated directory with a symbolic link prior to cloning a repository. This manipulation allows the attacker to place a malicious repository in the community node directory. Upon restarting n8n, the malicious repository loads as a custom JavaScript node, resulting in arbitrary code execution on the server. The issue is fixed in the specified versions.
Potential Impact
Successful exploitation results in arbitrary code execution on the server hosting n8n, compromising confidentiality, integrity, and availability of the system. The attacker must be an authenticated workflow user. The vulnerability has a CVSS 4.0 score of 8.9, indicating high severity with network attack vector, high impact on all security properties, and requiring low privileges but with high complexity and partial user interaction.
Mitigation Recommendations
This vulnerability is fixed in n8n versions 1.123.64, 2.29.8, and 2.30.1. Users should upgrade to one of these versions or later to remediate the issue. No other remediation or temporary fixes are indicated. Patch status is confirmed by the vendor's versioning information in the description.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-06T21:24:15.375Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a847118c6e8be03325a97c2
Added to database: 08/18/2026, 14:50:00 UTC
Last enriched: 08/18/2026, 15:04:28 UTC
Last updated: 08/19/2026, 00:08:41 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.