CVE-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 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.
References
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*

History

26 Jun 2026, 02:23

Type Values Removed Values Added
References () https://github.com/n8n-io/n8n/security/advisories/GHSA-5xp3-2w67-427v - () https://github.com/n8n-io/n8n/security/advisories/GHSA-5xp3-2w67-427v - Mitigation, Vendor Advisory
CPE cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.7
First Time N8n
N8n n8n

23 Jun 2026, 17:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-23 17:17

Updated : 2026-06-26 02:23


NVD link : CVE-2026-49465

Mitre link : CVE-2026-49465

CVE.ORG link : CVE-2026-49465


JSON object : View

Products Affected

n8n

  • n8n
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')