PT-2026-22005 · N8N · N8N
Fatihhcelik
·
Published
2026-02-25
·
Updated
2026-03-04
·
CVE-2026-27498
CVSS v4.0
9.0
Critical
| Vector | AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
Name of the Vulnerable Software and Affected Versions
n8n versions prior to 2.2.0
n8n versions prior to 1.123.8
Description
n8n is an open source workflow automation platform. An authenticated user with permission to create or modify workflows could chain the Read/Write Files from Disk node with git operations to achieve remote code execution. By writing to specific configuration files and then triggering a git operation, an attacker could execute arbitrary shell commands on the n8n host. The issue involves the interaction between the Read/Write Files from Disk node and git operations, potentially allowing an attacker to manipulate configuration files and subsequently execute commands. The
Read/Write Files from Disk node and git operations are involved in the exploitation process.Recommendations
Upgrade to n8n version 2.2.0 or later.
Upgrade to n8n version 1.123.8 or later.
If upgrading is not immediately possible, limit workflow creation and editing permissions to fully trusted users only.
If upgrading is not immediately possible, disable the Read/Write Files from Disk node by adding
n8n-nodes-base.readWriteFile to the NODES EXCLUDE environment variable.Exploit
Fix
RCE
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
N8N