n8n has a Sandbox Escape in its JavaScript Task Runner
CVE-2026-27495GHSA-jjpj-p2wh-qf23Published 25 Feb 2026, 22:10 UTC
Real-world risk
5.1/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
9.4
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
n8n is an open source workflow automation platform. Prior to versions 2.10.1, 2.9.3, and 1.123.22, an authenticated user with permission to create or modify workflows could exploit a vulnerability in the JavaScript Task Runner sandbox to execute arbitrary code outside the sandbox boundary. On instances using internal Task Runners (default runner mode), this could result in full compromise of the n8n host. On instances using external Task Runners, the attacker might gain access to or impact other task executed on the Task Runner. Task Runners must be enabled using `N8N_RUNNERS_ENABLED=true`. The issue has been fixed in n8n versions 2.10.1, 2.9.3, and 1.123.22. Users should upgrade to one of these versions or later to remediate the vulnerability. If upgrading is not immediately possible, administrators should consider the following temporary mitigations. Limit workflow creation and editing permissions to fully trusted users only, and/or use external runner mode (`N8N_RUNNERS_MODE=external`) to limit the blast radius. These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| n8nCommon | < 1.123.22; >= 2.0.0, < 2.9.3; >= 2.10.0, < 2.10.1 | 1.123.22, 2.9.3, 2.10.1 |
| @n8n/task-runnerNiche | < 1.59.16; >= 2.0.0, < 2.9.1; >= 2.10.0, < 2.10.1 | 1.59.16, 2.9.1, 2.10.1 |
| n8nNiche | < 1.123.22; >= 2.0.0, < 2.9.3; >= 2.10.0, < 2.10.1 | 1.123.22, 2.9.3, 2.10.1 |
What to do
Update to a fixed version: 1.123.22, 2.9.3, 2.10.1, 1.59.16, 2.9.1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.8% chance of exploitation in 30 days (percentile 57), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.600
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.6 × threat 0.855.100
- Rounded to one decimal between 0.1 and 105.1
Exploitation and evidence timeline
- 25 Feb 2026 Published
- 2 Dec 2026 Risk 5.1 (cvss fallback)
Weakness
CWE-94
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-jjpj-p2wh-qf23vendor-advisory
- https://docs.n8n.io/hosting/configuration/task-runnersmisc
- https://github.com/n8n-io/n8n/releases/tag/[email protected]misc
- https://github.com/n8n-io/n8n/releases/tag/[email protected]misc
- https://github.com/n8n-io/n8n/releases/tag/[email protected]misc
- https://nvd.nist.gov/vuln/detail/CVE-2026-27495
- https://github.com/advisories/GHSA-jjpj-p2wh-qf23
- CVE-2026-27495 on CVE.org