Free AI Safety Workshop — in collaboration with explainx.aiSave your seat
AgentbeamBeta
AI agent vulnerability · n8n

CVE-2026-27496: n8n has In-Process Memory Disclosure in its Task Runner

highCVSS 4.0 7.1 · 3.1 6.5GHSA-xvh5-5qg4-x9qp

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.

Published Mar 25, 2026 · Updated Mar 27, 2026

Affected packages

n8n

Ecosystem
npm
Affected
< 1.123.22
Fixed in
1.123.22
Check
npm ls n8n

n8n

Ecosystem
npm
Affected
>= 2.10.0, < 2.10.1
Fixed in
2.10.1
Check
npm ls n8n

n8n

Ecosystem
npm
Affected
>= 2.0.0-rc.0, < 2.9.3
Fixed in
2.9.3
Check
npm ls n8n

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to c0rydoras.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More n8n vulnerabilities

All n8n entries