Skip to content

CVE-2026-77083 n8n before 1.123.69 Code Node Sandbox Escape via Function.prototype Pollution

MediumCVSS 6.0 EPSS 0.37%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
n8n < 1.123.69; = 2.34.0; >= 2.0.0, < 2.33.4 1.123.69, 2.33.4 Fixed
npm n8n < 1.123.69; >= 2.0.0, < 2.33.4; >= 2.34.0, < 2.34.1 1.123.69, 2.33.4, 2.34.1 Fixed

Affected products

ProductAffected versionsFixed in
npm n8n < 1.123.69 1.123.69
npm n8n >= 2.34.0, < 2.34.1 2.34.1
npm n8n >= 2.0.0, < 2.33.4 2.33.4
n8n < 1.123.69 1.123.69
n8n >= 2.0.0, < 2.33.4 2.33.4
n8n = 2.34.0 No fix listed

References