VDB
Sign up
CRITICAL9.9

GHSA-5xrp-6693-jjx9

n8n Unsafe Workflow Expression Evaluation Allows Remote Code Execution

Quick fix

GHSA-5xrp-6693-jjx9 — n8n: upgrade to the fixed version with the command below.

npm install n8n@1.123.17

Details

n8n contains a critical Remote Code Execution (RCE) vulnerability in its workflow Expression evaluation system. Expressions supplied by authenticated users during workflow configuration may be evaluated in an execution context that is not sufficiently isolated from the underlying runtime.

An authenticated attacker could abuse this behavior to execute arbitrary code with the privileges of the n8n process. Successful exploitation may lead to full compromise of the affected instance, including unauthorized access to sensitive data, modification of workflows, and execution of system-level operations.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/n8n
Introduced in: 0Fixed in: 1.123.17
Fixnpm install n8n@1.123.17
npm/n8n
Introduced in: 2.0.0Fixed in: 2.4.5
Fixnpm install n8n@2.4.5
npm/n8n
Introduced in: 2.5.0Fixed in: 2.5.1
Fixnpm install n8n@2.5.1

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"]}'