VDB
Sign up
MEDIUM6.5

GHSA-xvh5-5qg4-x9qp

n8n has In-Process Memory Disclosure in its Task Runner

Quick fix

GHSA-xvh5-5qg4-x9qp — n8n: upgrade to the fixed version with the command below.

npm install n8n@1.123.22

Details

## 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/n8n
Introduced in: 0Fixed in: 1.123.22
Fixnpm install n8n@1.123.22
npm/n8n
Introduced in: 2.10.0Fixed in: 2.10.1
Fixnpm install n8n@2.10.1
npm/n8n
Introduced in: 2.0.0-rc.0Fixed in: 2.9.3
Fixnpm install n8n@2.9.3

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:npm/n8n"]}'