CVE-2026-49465 n8n: Git Node Clone and Push Operations Bypass File Sandbox
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| n8n | < 1.123.48; >= 2.0.0, < 2.21.8; >= 2.22.0, < 2.22.4 | 1.123.48, 2.21.8, 2.22.4 | Fixed |
| npm n8n(npm) | < 1.123.48; >= 2.0.0-rc.0, < 2.21.8; >= 2.22.0, < 2.22.4 | 1.123.48, 2.21.8, 2.22.4 | Fixed |
| n8n-io n8n | = < 1.123.48; = >= 2.0.0-rc.0, < 2.21.8; = >= 2.22.0, < 2.22.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| n8n-io n8n | = < 1.123.48 | No fix listed |
| n8n-io n8n | = >= 2.0.0-rc.0, < 2.21.8 | No fix listed |
| n8n-io n8n | = >= 2.22.0, < 2.22.4 | No fix listed |
| npm n8n(npm) | < 1.123.48 | 1.123.48 |
| npm n8n(npm) | >= 2.22.0, < 2.22.4 | 2.22.4 |
| npm n8n(npm) | >= 2.0.0-rc.0, < 2.21.8 | 2.21.8 |
| n8n | < 1.123.48 | 1.123.48 |
| n8n | >= 2.0.0, < 2.21.8 | 2.21.8 |
| n8n | >= 2.22.0, < 2.22.4 | 2.22.4 |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-5xp3-2w67-427v mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product