Inappropriate coding practices In n8n
Description
n8n has In-Process Memory Disclosure in its Task Runner
Impact
An authenticated user with permission to create or modify workflows could use the JavaScript Task Runner to allocate uninitialized memory buffers. Uninitialized buffers may contain residual data from the same Node.js process — including data from prior requests, tasks, secrets, or tokens — resulting in information disclosure of sensitive in-process data.
Task Runners must be enabled using N8N_RUNNERS_ENABLED=true.
In external runner mode, the impact is limited to data within the external runner process.
Patches
The issue has been fixed in n8n versions >= 1.123.22, >= 2.10.1 , and >= 2.9.3. Users should upgrade to this version or later to remediate the vulnerability.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
Limit workflow creation and editing permissions to fully trusted users only.
Use external runner mode (N8N_RUNNERS_MODE=external) to isolate the runner process.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
npm | n8n | 1.123.22, 2.10.1, 2.9.3 |
Aliases