Vulnerability · Published Jun 23, 2026 · Assigned by GitHub_M

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

Medium 6.0

In plain English

A medium-severity path traversal in n8n from n8n-io. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.0Medium
Exploit odds (30 days)0.5%top 54.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmn8n1.123.48GHSA-5xp3-2w67-427v
npmn8n2.22.4GHSA-5xp3-2w67-427v
npmn8n2.21.8GHSA-5xp3-2w67-427v

Affected products (as reported)

VendorProductVersions
n8n-io n8n < 1.123.48>= 2.0.0-rc.0, < 2.21.8>= 2.22.0, < 2.22.4

Weakness: CWE-22 · 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

References