PT-2026-50151 · N8N · N8N

·

CVE-2026-49465

·

Published

2026-06-16

·

Updated

2026-07-16

CVSS v3.1

7.7

High

VectorAV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions n8n versions prior to 1.123.48 n8n versions prior to 2.21.8 n8n versions prior to 2.22.4
Description An authenticated user with permissions to create or modify workflows can bypass the N8N RESTRICT FILE ACCESS TO file sandbox. By providing a local filesystem path as the source repository in the Git node's Clone operation or as the target repository in the Push operation, the user can clone the contents of any local git repository accessible to the n8n process into an allowed path. This allows the reading of files that are otherwise blocked by direct file read access restrictions.
Recommendations Update to version 1.123.48. Update to version 2.21.8. Update to version 2.22.4. Limit workflow creation and editing permissions to fully trusted users only. Disable the Git node by adding n8n-nodes-base.git to the NODES EXCLUDE environment variable.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-49465
GHSA-5XP3-2W67-427V

Affected Products

N8N