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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
n8n-io n8n
Default version status: unaffected
0 to < 1.123.69affected1.123.69unaffected
pkg:npm/n8nn8n-io n8n
Default version status: unaffected
2.34.0 to < 2.34.1affected2.34.1unaffected
pkg:npm/n8nn8n-io n8n
Default version status: unaffected
2.0.0 to < 2.33.4affected2.33.4unaffected
pkg:npm/n8n