Servers and applications
GHSA-m3hg-p5r9-fg9h
JavaScript Task Runner VM Sandbox Escape via EventEmitter Prototype Pollution Leads to Remote Code Execution
- Severity
- High 7.2
- Published
- 5 Aug 2026
- Last changed
- 5 Aug 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 1.123.69, 2.33.4, 2.34.1
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read data · Change some data · Slow it down
- 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- Sources
- Project advisories (GitHub)
Description
The JS task runner's prototype-freezing routine covered globalThis functions but not internal module constructors such as EventEmitter. An authenticated user with Code node access could exploit this gap to execute arbitrary commands within the runner container. Because the polluted prototype is a single process-wide object, the corruption persists across every other tenant's Code node execution subsequently scheduled on that same shared runner, but not on the host.
On v1.x instances that have not enabled task runners, Code node JavaScript executes directly in the main n8n process instead, where the impact of a comparable sandbox escape could be significantly higher.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Restrict n8n instance access to fully trusted users only.
- Disable Code node access for untrusted users.
- Run the JavaScript task runner in an isolated process per user or project where your deployment supports it.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Affected software
| Software | Affected versions |
|---|---|
n8nServers and applications · github:n8n-io/n8n |
|
About n8n
low-code automation tool
- Weekly downloads (npm)
- 103,525npm, 15 Nov 2026
- Docker Hub pulls
- 286,090,810Docker Hub, 15 Nov 2026
- GitHub stars
- 210,541GitHub, 15 Nov 2026
- Forks
- 61,525GitHub, 15 Nov 2026
- Latest release
- [email protected]GitHub, 15 Nov 2026
- Released
- 13 Nov 2026GitHub
- Written in
- TypeScript, Node.jsWikidata
- First released
- 2019Wikidata
- First published on GitHub
- 22 Jun 2019GitHub
Website Source code Docker image Package
Vulnerabilities in n8n
- In our list
- 310
- Published in the last 12 months
- 298
- Critical, last 12 months
- 24
- High, last 12 months
- 133
- Known exploited
- 1
- GHSA-h59h-rf6m-7jp5Workflow Activation Allows Trigger Nodes to Use Credentials the Publisher Cannot AccessMedium 5.3 13 Nov 2026
- GHSA-g333-hr44-g82pAWS Bedrock Nodes Skip SSRF Protection for Custom Runtime EndpointsMedium 5.3 13 Nov 2026
- GHSA-c772-hjfp-gfc2Integration Nodes Send Authenticated Requests to Unintended API EndpointsMedium 5.3 13 Nov 2026
- GHSA-q8rc-7m84-mfvjCustom Instance Role with User Management Permissions Gives Control of the Owner AccountHigh 7.5 13 Nov 2026
- CVE-2026-130167Custom Instance Role with User Management Permissions Gives Control of the Owner AccountHigh 7.5 13 Nov 2026
- CVE-2026-126381n8n before 2.44.1 SQL Injection via Vector Store (OracleDB) Metadata Filter KeyMedium 4.9 13 Nov 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-m3hg-p5r9-fg9h
- github.com https://github.com/n8n-io/n8n/security/advisories/GHSA-m3hg-p5r9-fg9h