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

Published Aug 20, 2026
·
Updated

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 Software

1 affected component
n8n n8n<1.123.69, >=2.0.0<2.33.4, >=2.33.4<2.34.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade n8n to a version that resolves this vulnerability.

    Fixed in 1.123.69
  2. Upgrade

    Upgrade n8n to a version that resolves this vulnerability.

    Fixed in 2.33.4
  3. Upgrade

    Upgrade n8n to a version that resolves this vulnerability.

    Fixed in 2.34.1

Event History

Aug 20, 2026
CVE Published
via MITRE·11:21 AM
Data Sourced
via MITRE·11:21 AM
DescriptionWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker must be authenticated and able to create and execute workflows containing a JavaScript Code node. The full exploit chain also requires specific modules to be configured as allowlisted imports in the deployment.

2

Are all vulnerable n8n deployments equally exposed?

No. Although affected versions have the Code node sandbox weakness, successful exploitation additionally depends on the deployment allowing the specific modules needed by the exploit chain as imports.

3

What versions contain the fix?

The issue is fixed in n8n versions 1.123.69, 2.33.4, and 2.34.1. Versions earlier than those releases are affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203