CVE-2026-92587

Medium

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.

SeverityMedium
CVSS5.0
Exploit probability—
ProductN8n
PublishedSep 16, 2026
First seenSep 16, 2026
Weakness typeCWE-426CWE-426

How to fix

Update
  • n8n-io n8n1.123.76, 2.38.2, 2.37.7 or later

Affected products

ProductAffected versionsFixed in
n8n-io n8nv < 1.123.76, 2.38.0 ≤ v < 2.38.2, 2.0.0-rc.0 ≤ v < 2.37.71.123.76, 2.38.2, 2.37.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.