Skip to main content

CVE-2026-92587: Untrusted Search Path in n8n-io n8n

0
Medium
VulnerabilityCVE-2026-92587cvecve-2026-92587
Published: 09/16/2026 (09/16/2026, 21:46:53 UTC)
Source: CVE Database V5
Vendor/Project: n8n-io
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N

Affected software

n8n-io

n8n

Affected versions
>=0 <1.123.76

n8n-io

n8n

Affected versions
>=0 <2.38.2

n8n-io

n8n

Affected versions
>=0 <2.37.7
GitHub Actionsmore threats →ai
n8n-io/n8n
pkg:github/n8n-io/n8n
Affected versions
<1.123.76

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

AILast updated: 09/16/2026, 23:13:22 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses