Skip to content
CVE PROGRAM SOURCE RECORD6.0 Medium

CVE-2026-77083

n8n before 1.123.69 Code Node Sandbox Escape via Function.prototype Pollution

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.

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.69affected
  • 1.123.69unaffected
pkg:npm/n8n

n8n-io n8n

Default version status: unaffected

  • 2.34.0 to < 2.34.1affected
  • 2.34.1unaffected
pkg:npm/n8n

n8n-io n8n

Default version status: unaffected

  • 2.0.0 to < 2.33.4affected
  • 2.33.4unaffected
pkg:npm/n8n

References