CVE-2026-92587

n8n before 1.123.76 Sandbox Escape via Git Relative URL

State
Published
Severity
5.3 Medium
Published
Sep 16, 2026
Updated
Oct 29, 2026
Reserved
Sep 16, 2026

Read the record on cve.org

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.

Scores

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

Weaknesses

Affected Products

ProductVersions
n8nn8n-io
  • before 1.123.76Affected
  • 1.123.76Not affected
n8nn8n-io
  • 2.38.0 to before 2.38.2Affected
  • 2.38.2Not affected
n8nn8n-io
  • 2.0.0-rc.0 to before 2.37.7Affected
  • 2.37.7Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.