CVE-2026-77077 PUBLISHED

n8n before 1.123.69 Remote Code Execution via EventEmitter Prototype Pollution

Assigner: VulnCheck
Reserved: 20.08.2026 Published: 20.08.2026 Updated: 20.08.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N
CVSS Score: 7.2

Product Status

Vendor n8n-io
Product n8n
Versions Default: unaffected
  • affected from 0 to 1.123.69 (excl.)
  • Version 1.123.69 is unaffected
Vendor n8n-io
Product n8n
Versions Default: unaffected
  • affected from 0 to 2.34.1 (excl.)
  • Version 2.34.1 is unaffected
Vendor n8n-io
Product n8n
Versions Default: unaffected
  • affected from 0 to 2.33.4 (excl.)
  • Version 2.33.4 is unaffected

Credits

  • dorjoos reporter

References

Problem Types

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