Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to n8n with low-privilege account
-
DeliveryCreate workflow with Git node fetch or pull step
-
ExploitSet remote configuration to out-of-sandbox local path
-
ExecutionExecute workflow to trigger path traversal
-
PersistReceive exfiltrated git repository contents in workspace
-
ImpactRead committed files and secrets from git history
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection 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 account with both workflow create and workflow execute permissions (CVSS PR:L). The vulnerability is specific to the Git node's fetch, pull, and push-tags operations only - clone and push already had containment checks and are not affected. The attacker must supply a remote configuration value pointing to a local filesystem path outside the intended sandbox, which must resolve to a valid local git repository for the operation to succeed. Exploitation is blocked in deployments that restrict workflow creation to fully trusted users, or that disable the Git node via NODES_EXCLUDE. Integrity and availability are not at risk - only the confidentiality of local git repository contents accessible from the n8n process user account is exposed. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N) scores 7.1, correctly capturing the network-accessible, low-complexity, low-privilege nature of the attack and the high confidentiality impact with no integrity or availability consequences. The PR:L requirement is the single most important limiting factor: this is not unauthenticated exploitation. In practice, risk is concentrated in multi-user or team n8n deployments where untrusted or semi-trusted users hold workflow create/execute permissions. Single-user or fully-trusted-user deployments have no realistic attack surface. EPSS data was not supplied in the input; KEV status is absent, meaning no confirmed active exploitation is known. No POC was referenced. The confidentiality-only impact (VC:H) is nonetheless serious because local git repositories commonly contain committed secrets, API keys, or internal configuration files - lateral movement through exposed history is a realistic downstream consequence. Overall this is a genuine medium-high priority for multi-tenant n8n deployments, and a low priority for single-operator instances behind access controls. |
| Exploit ScenarioDerived | An authenticated n8n user with standard workflow permissions creates a workflow using the Git node's fetch or pull operation, configuring the remote to reference a sensitive local directory such as a service account's home directory or an internal configuration repository outside the n8n sandbox. When the workflow executes, the path traversal bypasses containment checks and the git operation retrieves the full contents of that directory, including committed files and historical commits that may contain credentials or private keys. No public exploit code has been identified, but the attack requires only standard n8n workflow authoring skills and no elevated privileges. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 11, 2026
Path traversal in n8n's Git node before versions 1.123.67, 2.31.5, and 2.32.1 allows authenticated low-privilege users to escape the repository sandbox during fetch, pull, and push-tags operations. By pointing an allowlisted remote configuration value at a local filesystem path outside the intended sandbox, an attacker with workflow create/execute rights can pull arbitrary local git repositories into the workspace and read their files and full commit history, including any secrets or credentials stored in git history. No public exploit has been identified at time of analysis and the vulnerability is not listed in CISA KEV, but the low complexity and low-privilege attack path make it a realistic insider or compromised-account threat in multi-user n8n deployments.
RemediationAI
The primary fix is to upgrade n8n to a patched release: version 1.123.67 for users on the 1.x branch, version 2.31.5 for users on 2.x before 2.32.0, or version 2.32.1 for users on 2.32.0. The upstream patch commit is f69dfc6dd2178a14ea1624d2e1d403c2e755042f, as documented in the advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-gf29-4f56-r2jf. If immediate upgrade is not feasible, the vendor offers two temporary workarounds: (1) Restrict n8n instance access exclusively to fully trusted users, eliminating the low-privilege threat actor - note this does not fix the vulnerability and any future account compromise reintroduces the risk. (2) Disable the Git node entirely by adding n8n-nodes-base.git to the NODES_EXCLUDE environment variable - this fully removes the vulnerable code path but also disables all Git-based workflow steps for all users. The vendor explicitly states neither workaround fully remediates the risk; they are short-term measures only.
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 an open-source workflow automation platform distributed as the npm package n8n-io/n8n (CPE: cpe:2.3:a:n8n-io:n8n). Its Git node exposes git operations - clone, push, fetch, pull, and push-tags - as workflow steps. The existing sandbox path containment checks had already been applied to clone and push, but were not consistently enforced on the fetch, pull, and push-tags code paths, creating an asymmetric security boundary. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory - Path Traversal): by supplying a remote configuration value that resolves to a local filesystem path rather than a legitimate remote URL, the git operations treat an out-of-sandbox local directory as a remote repository and retrieve its contents. The fix is in commit f69dfc6dd2178a14ea1624d2e1d403c2e755042f, which extends the containment checks to the previously unprotected operations.
Know when N8n gets its next vulnerability
- 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:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network-accessible by any low-privilege authenticated user; no integrity or availability impact; no scope change beyond the n8n process boundary.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
n8n versions before 1.123.67 contain a path traversal vulnerability in the Git node's fetch, pull, and push-tags operations that allows authenticated users to bypass repository-path containment checks. Attackers with workflow create/execute rights can point allowlisted remote configurations at local paths outside the sandbox to pull arbitrary git repositories and read their files and history.
Executive ViewAI
n8n's Git node contains a path traversal vulnerability (CVE-2026-72770) allowing authenticated users to access arbitrary git repositories and their full commit history, potentially exposing credentials and sensitive data. This poses significant risk to multi-user n8n deployments where internal users or compromised accounts could leverage workflow creation privileges to read confidential repository data.
No vendor-released patch identified at time of analysis. Interim mitigations include: restrict workflow creation and execution permissions to highly trusted users only; disable Git node in workflow automation policies if operationally feasible; implement file system access controls to limit Git node sandbox scope; enforce multi-factor authentication for accounts with workflow creation rights; audit logs for suspicious Git node activities; and rotate credentials that may have been exposed through git repository history.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with
n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical
n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft
Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin
A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w
Second-order expression injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22. Crafted workflow data trigger
An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac
Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP
The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability
EUVD-2026-56096
GHSA-vx5x-2g22-wqjr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB