CVE-2026-27495: n8n · Code Injection
Affects n8nSource CVE Database V5
Not known to be exploited · CVSS 9.4 Critical · fixed in 2.10.1 : patch n8n as a priority.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.10.1, 2.9.3, 1.123.22
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: evidence found.
Public exploit code: GitHub proofs of concept
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), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade n8n to 2.10.1, 2.9.3 or 1.123.22; n8n-io/n8n to 1.123.22.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| n8n-ion8n | Affected
| Fixed in
|
| n8n-ion8n | Affected
| Fixed in
|
| n8n-ion8n | Affected
| Fixed in
|
npmn8n-io/n8npkg:npm/n8n-io/n8nOther threats | 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 instances immediately to versions 2.10.1, 2.9.3, or 1.123.22 or later, which contain the patch for this vulnerability.
- Restrict workflow creation and editing permissions strictly to fully trusted and vetted users to reduce the risk of malicious workflow injection.
- Configure n8n to use external Task Runner mode (set N8N_RUNNERS_ENABLED=true and N8N_RUNNERS_MODE=external) to isolate task execution environments and limit the blast radius of potential exploits.
- Monitor workflow changes and audit logs for suspicious activity indicative of exploitation attempts.
- Employ network segmentation and host-based controls to limit access to n8n hosts and Task Runner environments.
- Consider implementing runtime application self-protection (RASP) or endpoint detection and response (EDR) solutions to detect anomalous code execution.
- Educate administrators and developers on the risks of granting workflow modification permissions and enforce the principle of least privilege.
- Plan for rapid incident response and recovery procedures in case of compromise. These steps go beyond generic advice by focusing on permission management, runner configuration, and monitoring tailored to n8n’s architecture.
Description
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.
References
- github.com/n8n-io/n8n/security/advisories/GHSA-jjpj-p2wh-qf23 (opens in a new tab)
- docs.n8n.io/hosting/configuration/task-runners (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)