RCE in N8n
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.
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.
EPSS exploit prediction
EPSS: 0.006 (44.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 45th percentile — 44.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.006 · change: +0.003
Affected products
- N8n — versions 2.34.0
- N8n-Io N8n
Weakness classification (CWE)
References
- github.com/n8n-io/n8n/security/advisories/GHSA-m3hg-p5r9-fg9h (vendor-advisory, Mitigation, Vendor Advisory)
- www.vulncheck.com/advisories/n8n-before-remote-code-execution-via-eventemitter-… (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-77077?
- CVE-2026-77077 is a high-severity vulnerability in N8n, classified under Code Injection. CVSS score: 7.6/10. Published 2026-08-20.
- How severe is CVE-2026-77077?
- High severity. CVSS v3 base score is 7.6 out of 10.