Skip to main content

n8n CVE-2026-92587

| EUVDEUVD-2026-81287 MEDIUM
Untrusted Search Path (CWE-426)
2026-09-16 disclosure@vulncheck.com GHSA-f9wr-qmqc-cpw3
5.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as n8n member
  2. Delivery
    Nest repo below configured repositoryPath
  3. Exploit
    Submit crafted relative remote URL passing sandbox check
  4. Execution
    git resolves URL outside N8N_RESTRICT_FILE_ACCESS_TO
  5. Persist
    Fetch/pull merges external repo objects
  6. Impact
    Read back out-of-bounds git contents

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path verification
Exploitation Conditions

Requires an authenticated n8n user with member-level access (PR:L) in a deployment that uses the Git node AND relies on N8N_RESTRICT_FILE_ACCESS_TO to sandbox file access. The attacker must be able to nest a repository one directory level below the configured repositoryPath so that an identical relative-URL string passes n8n's file-access validation while git, operating from the enclosing repository's top level, resolves it outside the sandbox. Exploitation is limited to reading git-repository objects that exist outside the restricted path; it is neutralized entirely if the Git node is disabled (n8n-nodes-base.git added to NODES_EXCLUDE) or the instance is upgraded to 1.123.76 / 2.37.7 / 2.38.2. It does not apply to instances that do not enforce N8N_RESTRICT_FILE_ACCESS_TO or do not expose the Git node.

Impact

This is a genuine but modest-severity issue. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L) scores 5.3 (medium) and is internally consistent with the description: network-reachable but requires an authenticated n8n member (PR:L), no user interaction, and yields only limited confidentiality impact (VC:L/SC:L) with no integrity or availability effect on the host. The impact is bounded - an attacker reads back git-repository objects that lie outside the N8N_RESTRICT_FILE_ACCESS_TO sandbox, not arbitrary secrets or full filesystem contents, and only if a target git repo exists outside the boundary. No EPSS score, no CISA KEV listing, and no public POC are present in the provided data, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The realistic priority is low-to-moderate: it is a privilege-and-configuration-gated sandbox escape affecting only deployments that use the Git node and rely on N8N_RESTRICT_FILE_ACCESS_TO, exploitable only by users who already hold authenticated access. CWE-426 (Untrusted Search Path) accurately captures the root cause - git resolving the relative URL from the enclosing repository's top level rather than the validated path.

Exploit ScenarioDerived

An authenticated n8n member configures a Git node and nests a repository one directory below the configured repositoryPath, then supplies a relative remote URL that passes the file-access validation but which git resolves from the enclosing repository outside the sandbox. A subsequent fetch or pull merges the out-of-bounds repository's objects into the attacker's own repository, letting them read back file contents that N8N_RESTRICT_FILE_ACCESS_TO was meant to protect. No public POC is identified in the provided sources.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 16, 2026

Sandbox bypass in the n8n Git node lets an authenticated member-level user read git repository objects located outside the path enforced by N8N_RESTRICT_FILE_ACCESS_TO. n8n validates a relative remote URL against the configured repositoryPath, but git is then executed with that directory as its working directory and walks up to the enclosing repository's top level, where it resolves the identical URL string from outside the sandbox; a subsequent fetch or pull merges the external repository's objects into the attacker's own repository, from which the contents can be read back. Versions before 1.123.76, 2.37.7, and 2.38.2 are affected; no public exploit code has been identified at time of analysis, and the confidentiality-only impact (CVSS 4.0 base 5.3, assessed as CVSS 3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N) is neutralized by upgrading or by disabling the Git node.

RemediationAI

Upgrade to the vendor-released fixed versions: n8n 1.123.76 for the 1.x branch, 2.37.7 for the 2.37.x branch, or 2.38.2 for the 2.38.x branch; these resolve the remote reference from the directory git actually operates in before applying the sandbox check. If an upgrade cannot be performed immediately, add n8n-nodes-base.git to the NODES_EXCLUDE environment variable to disable the Git node, which fully neutralizes the issue at the cost of removing all Git node functionality (and any workflows depending on it) for every user on the instance; combine this with a review of existing workflows and repositories for unexpected nested repository layouts or out-of-sandbox objects that may already have been merged. Note that instances that do not enforce N8N_RESTRICT_FILE_ACCESS_TO, or that do not expose the Git node, are not affected by this specific bypass, so tightening file-access configuration alone is not a substitute for patching. Details are available in the vendor advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-fm93-2x43-6676 and the VulnCheck advisory at https://www.vulncheck.com/advisories/n8n-before-1.123.76-sandbox-escape-via-git-relative-url.

Affected VersionsENISA

n8n 0 <1.123.76
n8n 0 <2.38.2
n8n 0 <2.37.7

Affected Packages

euvd n8n fix: 1.123.76, 2.37.7, 2.38.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The weakness is CWE-426 (Untrusted Search Path) manifesting as a canonicalization/validation-mismatch flaw in the n8n workflow automation platform's Git node (n8n-nodes-base.git). n8n's file-access sandbox (N8N_RESTRICT_FILE_ACCESS_TO) checks a relative remote URL against the configured repositoryPath before invoking git, but git is launched with the user-controlled repository directory as its working directory. Git resolves paths relative to the repository top level it discovers by walking up the directory tree, so a repository nested one level below the configured repositoryPath produces an identical relative-URL string that passes n8n's check while git resolves it against the enclosing repository root, outside the restricted path. A fetch or pull performed on the attacker's own repository then imports objects from the out-of-sandbox repository into it, where the attacker can read them back. Exploitation requires an authenticated n8n user with member-level privileges in a deployment that both exposes the Git node and enforces N8N_RESTRICT_FILE_ACCESS_TO; because the resulting access crosses the intended isolation boundary, the assessed CVSS 3.1 vector carries a changed scope (S:C) with low confidentiality impact only (C:L/I:N/A:N). The fix in 1.123.76, 2.37.7, and 2.38.2 resolves the remote reference from the directory git actually operates in before applying the sandbox check, eliminating the validation/execution mismatch.

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

Vendor (vulncheck) PRIMARY 5.3 MEDIUM
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
vuln.today AI 5.0 MEDIUM

Authenticated member (PR:L) over the network; escaping the file-access sandbox is a scope change (S:C) yielding limited read-only disclosure (C:L), with no integrity or availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Sep 16, 2026 - 23:19 EUVD
CVE Published
Sep 16, 2026 - 22:18 cve.org
MEDIUM 5.3

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
High
n8n is a widely deployed self-hosted workflow-automation platform
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in N8n

View all
CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2026-21877 CRITICAL POC
9.9 Jan 08

n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with

CVE-2026-21858 CRITICAL POC
10.0 Jan 08

n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical

CVE-2026-1470 CRITICAL POC
9.9 Jan 27

n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft

CVE-2025-65964 CRITICAL POC
9.4 Dec 09

Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin

CVE-2026-33696 CRITICAL POC
9.4 Mar 25

A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti

CVE-2026-33660 CRITICAL POC
9.4 Mar 25

An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit

CVE-2025-55526 CRITICAL POC
9.1 Aug 26

n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w

CVE-2026-27493 CRITICAL POC
9.0 Feb 25

Second-order expression injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22. Crafted workflow data trigger

CVE-2025-56265 HIGH POC
8.8 Sep 08

An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac

CVE-2026-33665 HIGH POC
8.8 Mar 25

Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP

CVE-2023-27563 HIGH POC
8.8 May 10

The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy