n8n: N8n versions before 1.123.69, 2.33.4, and 2.34.1 contain a JavaScript task runner VM sandbox…
n8n
- Severity
- High, CVSS 7.6
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
- Record
- CVE-2026-77077
- Affects
- n8n
- Known exploited
- Not listed in the CISA Known Exploited Vulnerabilities catalog
- Published
- Record first published by the source
- August 20, 2026
- Source last modified
- September 1, 2026
Description
n8n versions before 1.123.69, 2.33.4, and 2.34.1 contain a JavaScript task runner VM sandbox escape. The runner's prototype-freezing routine covers globalThis functions but not internal module constructors such as EventEmitter, allowing an authenticated user with Code node access to exploit prototype pollution to execute arbitrary commands within the runner container. Because the polluted prototype is a process-wide object, the corruption persists across other tenants' Code node executions on the same shared runner. On v1.x instances without task runners enabled, Code node JavaScript runs directly in the main n8n process, where the impact could be higher.
Description quoted from the NVD record.
Who is affected
n8n, a tool for automating tasks by linking apps and services into step-by-step workflows, has a flaw in versions before 1.123.69, 2.33.4 and 2.34.1. It affects the Code node, a workflow step that runs custom JavaScript inside a protected sandbox. A signed-in user who can use the Code node could break out of that sandbox and run any commands inside the separate walled-off space that runs this code. The harm carries over to other users' code on the same shared space. On version 1 setups without task runners turned on, code runs inside the main n8n program, where the impact could be higher. This flaw is rated High.
What to do
- The person who installed or runs n8n for your organization should handle this update.
- If an IT provider or vendor runs n8n for you, send them this advisory and ask when the update will be done.
- Update n8n to version
1.123.69,2.33.4or2.34.1, whichever matches the version series you already use. - If you run version 1 without task runners turned on, give this update top priority, because this flaw could do more harm there.
- Read the vendor advisory linked on this page for more detail on the fixed releases.
Analysis written from the source record as of September 1, 2026 and reviewed before publishing.