CVE-2026-27495: n8n has a Sandbox Escape
Affects n8nSource GCVE Database
Not known to be exploited · CVSS 9.4 Critical : upgrade to 1.123.22 as a priority.
Data as of 2 Dec 2026, 18:37 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 57% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.123.22, 2.9.3, 2.10.1 +2
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HExploitation evidence
Disclosed: evidence found.
CVE published 25 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmn8n | Affected
| Fixed in
|
| npmn8n | Affected
| Fixed in
|
| npmn8n | Affected
| Fixed in
|
| npm@n8n/task-runner | Affected
| Fixed in
|
| npm@n8n/task-runner | Affected
| Fixed in
|
| npm@n8n/task-runner | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade n8n to version 1.123.22, 2.9.3, 2.10.1, or later to fully remediate the vulnerability. If immediate upgrade is not possible, restrict workflow creation and editing permissions to fully trusted users only and configure n8n to use external runner mode (N8N_RUNNERS_MODE=external) to reduce the impact scope. These workarounds are temporary and do not fully mitigate the risk.
Description
An authenticated user with permission to create or modify workflows in n8n can exploit a sandbox escape vulnerability in the JavaScript Task Runner. This allows arbitrary code execution outside the sandbox boundary. On default internal Task Runner mode, this could lead to full host compromise. External Task Runner mode limits the impact to the Task Runner environment. The vulnerability is fixed in n8n versions 1.123.22, 2.9.3, and 2.10.1. Temporary mitigations include restricting workflow permissions to trusted users and using external runner mode.
References
- github.com/n8n-io/n8n/security/advisories/GHSA-jjpj-p2wh-qf23 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-27495 (opens in a new tab)
- docs.n8n.io/hosting/configuration/task-runners (opens in a new tab)
- github.com/n8n-io/n8n (opens in a new tab)
- github.com/n8n-io/n8n/releases/tag/n8n@1.123.22 (opens in a new tab)
- github.com/n8n-io/n8n/releases/tag/n8n@2.10.1 (opens in a new tab)
- github.com/n8n-io/n8n/releases/tag/n8n@2.9.3 (opens in a new tab)