CVE-2026-92587: Untrusted Search Path in n8n-io n8n
n8n is a workflow automation platform. In versions before 1.123.76, 2.37.7, and 2.38.2, the Git node validated a relative remote URL against the configured repositoryPath but then invoked git with that path as its working directory; git walked up to the enclosing repository's top level and resolved the same relative URL from there. An authenticated user (member) who nested the repository one level below the configured path could therefore make an identical URL string pass the file-access check while git resolved it outside the sandbox. A subsequent fetch or pull read a git repository outside N8N_RESTRICT_FILE_ACCESS_TO and merged its objects into the user's own repository, where their contents could be read back. The issue is fixed in n8n 1.123.76, 2.37.7, and 2.38.2, which resolve the remote reference from the directory git actually operates in before applying the sandbox check. As a workaround, the Git node can be disabled by adding n8n-nodes-base.git to NODES_EXCLUDE.
AI Analysis
Technical Summary
The vulnerability in n8n's Git node arises because it validates a relative remote URL against a configured repository path but then invokes git with that path as the working directory. Git resolves the URL relative to the enclosing repository's top level, which can be outside the sandbox. An authenticated user can exploit this by nesting a repository one level below the configured path, causing the URL to pass the file-access check while git accesses repositories outside the sandbox. This allows reading git repository objects outside the restricted path. The fix in n8n versions 1.123.76, 2.37.7, and 2.38.2 ensures the remote reference is resolved from the actual git working directory before applying sandbox restrictions. Disabling the Git node is a recommended workaround.
Potential Impact
An authenticated user with member privileges can bypass file access restrictions in the Git node to read git repository contents outside the configured sandbox path. This could expose sensitive repository data not intended to be accessible within the n8n environment. The vulnerability does not allow privilege escalation or remote code execution but compromises data confidentiality within the affected git repositories.
Mitigation Recommendations
The vulnerability is fixed in n8n versions 1.123.76, 2.37.7, and 2.38.2. Users should upgrade to these versions or later to remediate the issue. As a workaround, the Git node can be disabled by adding 'n8n-nodes-base.git' to the NODES_EXCLUDE configuration setting. No other actions are specifically required.
CVE-2026-92587: Untrusted Search Path in n8n-io n8n
Description
n8n is a workflow automation platform. In versions before 1.123.76, 2.37.7, and 2.38.2, the Git node validated a relative remote URL against the configured repositoryPath but then invoked git with that path as its working directory; git walked up to the enclosing repository's top level and resolved the same relative URL from there. An authenticated user (member) who nested the repository one level below the configured path could therefore make an identical URL string pass the file-access check while git resolved it outside the sandbox. A subsequent fetch or pull read a git repository outside N8N_RESTRICT_FILE_ACCESS_TO and merged its objects into the user's own repository, where their contents could be read back. The issue is fixed in n8n 1.123.76, 2.37.7, and 2.38.2, which resolve the remote reference from the directory git actually operates in before applying the sandbox check. As a workaround, the Git node can be disabled by adding n8n-nodes-base.git to NODES_EXCLUDE.
CVSS v4.0
Score 5.3medium
Affected software
n8n-io
n8n
n8n-io
n8n
n8n-io
n8n
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in n8n's Git node arises because it validates a relative remote URL against a configured repository path but then invokes git with that path as the working directory. Git resolves the URL relative to the enclosing repository's top level, which can be outside the sandbox. An authenticated user can exploit this by nesting a repository one level below the configured path, causing the URL to pass the file-access check while git accesses repositories outside the sandbox. This allows reading git repository objects outside the restricted path. The fix in n8n versions 1.123.76, 2.37.7, and 2.38.2 ensures the remote reference is resolved from the actual git working directory before applying sandbox restrictions. Disabling the Git node is a recommended workaround.
Potential Impact
An authenticated user with member privileges can bypass file access restrictions in the Git node to read git repository contents outside the configured sandbox path. This could expose sensitive repository data not intended to be accessible within the n8n environment. The vulnerability does not allow privilege escalation or remote code execution but compromises data confidentiality within the affected git repositories.
Mitigation Recommendations
The vulnerability is fixed in n8n versions 1.123.76, 2.37.7, and 2.38.2. Users should upgrade to these versions or later to remediate the issue. As a workaround, the Git node can be disabled by adding 'n8n-nodes-base.git' to the NODES_EXCLUDE configuration setting. No other actions are specifically required.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-16T13:47:49.170Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6aab120655bf5e2cf536882d
Added to database: 09/16/2026, 22:02:46 UTC
Last enriched: 09/16/2026, 23:13:22 UTC
Last updated: 09/17/2026, 05:01:24 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.