PT-2026-50151 · N8N · N8N
CVSS v3.1
7.7
High
| Vector | AV: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
Affected Products
N8N