CVE-2026-49465N8n
Medium 6.0
Follow: this CVE · N8n · N8n We alert you by email or Slack (account required).
- Priority
- 36
- CVSS 4.0
- 6.0
- EPSS
- —
- Auth required
- Yes
- Published
- Jun 23, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for N8n.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | n8n |
< 1.123.48 |
1.123.48 |
npm install n8n@1.123.48 |
| npm | n8n |
≥ 2.22.0 < 2.22.4 |
2.22.4 |
npm install n8n@2.22.4 |
| npm | n8n |
≥ 2.0.0-rc.0 < 2.21.8 |
2.21.8 |
npm install n8n@2.21.8 |
Per OSV / GitHub Advisories (GHSA-5xp3-2w67-427v). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| n8n | n8n | < 1.123.48 |
| n8n | n8n | ≥ 2.0.0 < 2.21.8 |
| n8n | n8n | ≥ 2.22.0 < 2.22.4 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Mitigation Vendor Advisory