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.
Published: 2026-08-20
Score: 6 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Sandbox Escape
Action: Immediate Patch
AI Analysis

Impact

The vulnerability exists in the Code node’s JavaScript virtual machine within the workflow platform. In pre‑1.123.69, 2.33.4, and 2.34.1 releases, the sandbox did not freeze Function.prototype, allowing an authenticated user who can create workflows to inject code that mutates this prototype during execution. By doing so the attacker can gain a reference to the host’s globalThis object, which effectively breaks the isolation boundary and permits arbitrary code execution on the host environment. The danger is pronounced because the payload is delivered inside an authenticated workflow execution channel, bypassing typical web boundaries.

Affected Systems

n8n‑io’s n8n automation platform is affected. The flaw appears in all releases older than version 1.123.69, 2.33.4, and 2.34.1. Users running any of these legacy builds are susceptible until an update is applied.

Risk and Exploitability

The CVSS score of 6 indicates a moderate severity, and EPSS data is not available, so actual exploitation probability is uncertain. The vulnerability is not listed in the CISA KEV catalog, suggesting no publicly known attacks yet. The exploit chain requires that the deployment’s configuration allows certain modules to be imported through the allowlist; an attacker must also have credentials that grant the right to create and run workflows. Given these prerequisites, the risk level is moderate but non‑negligible, and a patch is strongly recommended.

Generated by OpenCVE AI on August 20, 2026 at 21:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade n8n to a fixed release (1.123.69 or newer, or 2.33.4/2.34.1 and above).
  • If an immediate upgrade is impossible, restrict user permissions so no account can create or execute Code node workflows, effectively breaking the chain of attack.
  • Review and tighten the allowlisted module imports in the deployment configuration to limit the set of modules that a Code node can access, reducing the attack surface.

Generated by OpenCVE AI on August 20, 2026 at 21:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 22:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
cpe:2.3:a:n8n:n8n:2.34.0:*:*:*:*:node.js:*:*
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N'}


Thu, 20 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 20 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
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.
Title n8n before 1.123.69 Code Node Sandbox Escape via Function.prototype Pollution
First Time appeared N8n
N8n n8n
Weaknesses CWE-1321
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV4_0

{'score': 6, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-21T11:21:22.795Z

Reserved: 2026-08-20T10:55:09.093Z

Link: CVE-2026-77083

cve-icon Vulnrichment

Updated: 2026-08-20T14:53:33.478Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-20T12:16:39.840

Modified: 2026-09-01T19:49:07.397

Link: CVE-2026-77083

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T13:01:58Z

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')