CVE-2026-77077

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
cpe:2.3:a:n8n:n8n:2.34.0:*:*:*:*:node.js:*:*

History

01 Sep 2026, 19:44

Type Values Removed Values Added
References () https://github.com/n8n-io/n8n/security/advisories/GHSA-m3hg-p5r9-fg9h - () https://github.com/n8n-io/n8n/security/advisories/GHSA-m3hg-p5r9-fg9h - Mitigation, Vendor Advisory
References () https://www.vulncheck.com/advisories/n8n-before-remote-code-execution-via-eventemitter-prototype-pollution - () https://www.vulncheck.com/advisories/n8n-before-remote-code-execution-via-eventemitter-prototype-pollution - Third Party Advisory
CPE cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
cpe:2.3:a:n8n:n8n:2.34.0:*:*:*:*:node.js:*:*
First Time N8n
N8n n8n
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.6

20 Aug 2026, 12:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-08-20 12:16

Updated : 2026-09-01 19:44


NVD link : CVE-2026-77077

Mitre link : CVE-2026-77077

CVE.ORG link : CVE-2026-77077


JSON object : View

Products Affected

n8n

  • n8n
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')