CVE-2026-77077 n8n before 1.123.69 Remote Code Execution via EventEmitter Prototype Pollution
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| n8n | < 1.123.69; = 2.34.0; >= 2.33.0, < 2.33.4 | 1.123.69, 2.33.4 | Fixed |
| npm n8n | < 1.123.69; >= 2.0.0, < 2.33.4; >= 2.34.0, < 2.34.1 | 1.123.69, 2.33.4, 2.34.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm n8n | < 1.123.69 | 1.123.69 |
| npm n8n | >= 2.34.0, < 2.34.1 | 2.34.1 |
| npm n8n | >= 2.0.0, < 2.33.4 | 2.33.4 |
| n8n | < 1.123.69 | 1.123.69 |
| n8n | >= 2.33.0, < 2.33.4 | 2.33.4 |
| n8n | = 2.34.0 | No fix listed |
References
- GitHub Security Advisory (GHSA-m3hg-p5r9-fg9h) mitigation vendor-advisory
- VulnCheck Advisory: n8n before 1.123.69 Remote Code Execution via EventEmitter Prototype Pollution third-party-advisory
- ENISA EUVD EUVD-2026-63266 third-party-advisory