n8n before 1.123.69 Code Node Sandbox Escape via Function.prototype Pollution
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.123.69, 2.33.4 and 2.34.1.
n8n is a workflow automation platform. In versions prior to 1.123.69, 2.33.4, and 2.34.1, the JavaScript Code node's VM sandbox did not freeze the sandbox's Function.prototype, allowing an authenticated user with the ability to create and execute workflows to pollute it from within a Code node execution and recover a reference to the host's globalThis, resulting in a sandbox escape. The full exploit chain additionally depends on specific modules being available as allowlisted imports in the deployment's configuration. The issue is fixed in versions 1.123.69, 2.33.4, and 2.34.1.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| n8n-io | <1.123.69, >=2.0.0 <2.33.4, >=2.34.0 <2.34.1 | 1.123.69, 2.33.4, 2.34.1 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket