CVE-2026-49465
published 2026-06-23CVE-2026-49465: 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…
PriorityP350high7.7CVSS 3.1
AVNACLPRLUINSCCHINAN
EPSS
0.50%
38.7th percentile
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
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| n8n-io | n8n | < 1.123.48 | 1.123.48 |
| n8n-io | n8n | — | — |
| n8n-io | n8n | — | — |
| n8n | n8n | < 1.123.48 | 1.123.48 |
| n8n | n8n | >= 0 < 1.123.48 | 1.123.48 |
| n8n | n8n | >= 2.0.0 < 2.21.8 | 2.21.8 |
| n8n | n8n | >= 2.0.0-rc.0 < 2.21.8 | 2.21.8 |
| n8n | n8n | >= 2.22.0 < 2.22.4 | 2.22.4 |
| n8n | n8n | >= 2.22.0 < 2.22.4 | 2.22.4 |
CVSS provenance
nvdv3.17.7HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
nvdv4.06.0MEDIUMCVSS: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
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
n8n-io n8n up to 1.123.47/2.21.7/2.22.3 TO File path traversal (GHSA-5xp3-2w67-427v)
vuldb·2026-06-23·CVSS 6.0
CVE-2026-49465 [MEDIUM] n8n-io n8n up to 1.123.47/2.21.7/2.22.3 TO File path traversal (GHSA-5xp3-2w67-427v)
A vulnerability, which was classified as critical, was found in n8n-io n8n up to 1.123.47/2.21.7/2.22.3. This vulnerability affects unknown code of the component TO File Handler. Such manipulation leads to path traversal.
This vulnerability is documented as CVE-2026-49465. The attack needs to be performed locally. There is not any exploit available.
You should upgrade the affected component.
GHSA
n8n: Git Node Clone and Push Operations Bypass File Sandbox
ghsa·2026-06-16
CVE-2026-49465 [MEDIUM] CWE-22 n8n: Git Node Clone and Push Operations Bypass File Sandbox
n8n: Git Node Clone and Push Operations Bypass File Sandbox
## Impact
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.
## Patches
The issue has been fixed in n8n versions 1.123.48, 2.21.8, and 2.22.4. Users should upgrade to one of these versions or later to remediate the vulnerability.
## Workarounds
If upgrading is not immediately possible, a
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2026-06-23
Published