CVE-2026-92587 n8n before 1.123.76 Sandbox Escape via Git Relative URL
An authenticated user can bypass file access restrictions in the Git node to read data from repositories outside the sandbox.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-92587?
CVE-2026-92587 is a medium-severity path traversal vulnerability in n8n-io n8n, published on 16 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-426
Which versions are affected by CVE-2026-92587?
How do I fix CVE-2026-92587?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-92587 being exploited?
There is no known exploitation of CVE-2026-92587 in the wild and no public exploit code.
Sources
Also known as GHSA-f9wr-qmqc-cpw3, GHSA-fm93-2x43-6676, MINI-79hw-wm2q-mhf6.