CVE 6 MEDIUM

n8n: Git Node Clone and Push Operations Bypass File Sandbox_CVE-2026-49465

6 / 10
MEDIUM
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

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.

Basic Information

ID CVE-2026-49465
Source GitHub_M
Published Jun 23, 2026 at 15:49
Modified Jun 23, 2026 at 17:17

Affected Product

Vendor n8n-io
Product n8n
Version < 1.123.48
Affected Versions n8n-io n8n < 1.123.48
n8n-io n8n >= 2.0.0-rc.0, < 2.21.8
n8n-io n8n >= 2.22.0, < 2.22.4

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.