CVE-2026-77077

n8n before 1.123.69 Remote Code Execution via EventEmitter Prototype Pollution

State
Published
Severity
7.2 High
Published
Aug 20, 2026
Updated
Aug 21, 2026
Reserved
Aug 20, 2026

Read the record on cve.org

Description

n8n versions before 1.123.69, 2.33.4, and 2.34.1 contain a JavaScript task runner VM sandbox escape. The runner's prototype-freezing routine covers globalThis functions but not internal module constructors such as EventEmitter, allowing an authenticated user with Code node access to exploit prototype pollution to execute arbitrary commands within the runner container. Because the polluted prototype is a process-wide object, the corruption persists across other tenants' Code node executions on the same shared runner. On v1.x instances without task runners enabled, Code node JavaScript runs directly in the main n8n process, where the impact could be higher.

Scores

CVSSScoreVectorSource
4.07.2 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:NVulnCheck

Weaknesses

  • CWE-94 Improper Control of Generation of Code ('Code Injection')

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.