RCE in N8n
CVE-2026-77077
- CVSS v3
- 7.6 High
- Public exploits
- None known
- EPSS
- 0.006 · 47.7th percentile
- Published
- 2026-08-20
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- Low
I:L - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.006, 47.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- N8n — versions 2.34.0
- N8n-Io N8n
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-m3hg-p5r9-fg9h) (vendor-advisory, Mitigation, Vendor Advisory)
- VulnCheck Advisory: n8n before 1.123.69 Remote Code Execution via EventEmitter Prototype Pollution (Third Party Advisory, third-party-advisory)