CVE-2026-49465CWE-22

n8n: Git Node Clone and Push Operations Bypass File Sandbox

Medium · published June 23, 2026

CVSS v4.0
6.0
EPSS
1%
Percentile
44.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.0 · MEDIUM
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
EPSS
0.00540 · 44.7th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-06-23T15:49Z
EPSS history
Timeline
  • 23 JUN 15:49Z
    n8n: Git Node Clone and Push Operations Bypass File Sandbox
    cvelistv5