What’s Vulnerable › Vulnerabilities
CVE-2026-49465: n8n: Git Node Clone and Push Operations Bypass File Sandbox
- Severity: high (CVSS 7.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-23 · updated 2026-10-26
- Weakness: CWE-22
Description
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.
Affected products
- n8n-io n8n: before 1.123.48; from 2.0.0 before 2.21.8; from 2.22.0 before 2.22.4 — fixed in 1.123.48, 2.21.8, 2.22.4
How to fix
Upgrade to a fixed version: n8n-io n8n 1.123.48, 2.21.8, 2.22.4. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-49465 or the next vulnerability affects your stack