Skip to main content
← All vulnerabilities
CVE-2026-49465GHSA-5XP3-2W67-427V

n8n: Git Node Clone and Push Operations Bypass File Sandbox

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.123.48, 2.21.8, 2.22.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

n8n is an open source workflow automation platform. Prior to 1.123.48, 2.21.8, and 2.22.4, an authenticated user with permission to create or modify workflows could supply a local filesystem path as the source repository in the Git node's Clone operation, or as the target repository in the Push operation, bypassing the N8N_RESTRICT_FILE_ACCESS_TO file sandbox. This allowed the contents of any local git repository accessible to the n8n process to be cloned into an allowed path and read, circumventing the access restrictions that correctly blocked direct file reads to the same paths. This vulnerability is fixed in 1.123.48, 2.21.8, and 2.22.4.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • n8n-io n8n

    fixed in 1.123.48; From 2.0.0-rc.0 · fixed in 2.21.8; From 2.22.0 · fixed in 2.22.4

  • n8nnpm

    fixed in 1.123.48

  • n8nnpm

    From 2.22.0 · fixed in 2.22.4

  • n8nnpm

    From 2.0.0-rc.0 · fixed in 2.21.8

References 1

GitHub · n8n-io/n8n