CVE-2026-49465
MEDIUM 6.0CVSS 4.0n8n: Git Node Clone and Push Operations Bypass File Sandbox
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.
- Published
- 23 Jun 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-5xp3-2w67-427v
- Sources
- NVDJSONOSV GHSA-5xp3-2w67-427vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* |
< 1.123.48 | 1.123.48 |
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* |
>= 2.0.0, < 2.21.8 | 2.21.8 |
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* |
>= 2.22.0, < 2.22.4 | 2.22.4 |
| OSV | npm | n8n | < 1.123.48 | 1.123.48 |
| OSV | npm | n8n | >= 2.22.0, < 2.22.4 | 2.22.4 |
| OSV | npm | n8n | >= 2.0.0-rc.0, < 2.21.8 | 2.21.8 |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-5xp3-2w67-427v · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-49465 · ADVISORY
- https://github.com/n8n-io/n8n · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 23 Jun 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 16 Jun 2026)