CVE-2026-77083

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

State
Published
Severity
6.0 Medium
Published
Aug 20, 2026
Updated
Aug 21, 2026
Reserved
Aug 20, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.0 MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:NVulnCheck

Weaknesses

  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Affected Products

ProductVersions
n8nn8n-io
  • before 1.123.69Affected
  • 1.123.69Not affected
n8nn8n-io
  • 2.34.0 to before 2.34.1Affected
  • 2.34.1Not affected
n8nn8n-io
  • 2.0.0 to before 2.33.4Affected
  • 2.33.4Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.