· rangkumin.tech

n8n patches high-severity expression sandbox escape that let workflow users run code in the main process

n8n published a high-severity advisory on November 26 for a sandbox escape in its workflow expression engine. A user able to create and run workflows could execute arbitrary code in the main n8n process. Fixes are in npm 2.49.2 and Docker images 2.49.2 and 3.4.0.

Why it matters

According to the advisory, n8n evaluates workflow expressions inside a sandboxed V8 isolate. A flaw in how the V8 engine bundled with n8n internalized certain strings allowed a crafted expression to corrupt memory and break out of that isolate, running code with the privileges of the n8n service user. The advisory rates it 7.7 under CVSS v4, with low privileges required, so the main risk is on instances where many people can edit workflows.

Patched builds also include the pointer-compression images tagged 2.47.6-pc, 2.48.3-pc and 3.2.2-pc. Self-hosted teams should upgrade to one of the listed versions or later.

If an upgrade cannot happen right away, n8n advises restricting instance access to fully trusted users and removing workflow creation and editing rights from anyone who is not. The project notes these steps only reduce risk and do not fix the vulnerability.

Sources

Choose English or Indonesian. Up to two editions a day. Unsubscribe anytime.