N8n-io n8n
n8n has a Sandbox Escape in its JavaScript Task Runner
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.123.22
- >= 2.0.0, < 2.9.3
- >= 2.10.0, < 2.10.1
Fixed in 1.123.22, 2.9.3, 2.10.1
Mitigation
Upgrade n8n to 1.123.22 or 2.9.3 or 2.10.1 or later.
References
- Vendor advisory github.com/n8n-io/n8n/security/advisories/GHSA…
- Release notes github.com/n8n-io/n8n/releases/tag/n8n@1.123.2…
- Release notes github.com/n8n-io/n8n/releases/tag/n8n@2.10.1
1 more
- Release notes github.com/n8n-io/n8n/releases/tag/n8n@2.9.3
Timeline
Days relative to CVE publicationFirst public PoC 133 days after publication; not in CISA KEV. First PoC: DexSemon/CVE-2026-27495 (created 8 Jul 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| DexSemon/CVE-2026-27495 | 8 Jul 2026 +133 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoDELETE /rest/workflows/{var}
- Ports
- 5678, 8080
- Seen in
- 1 repo: DexSemon/CVE-2026-27495
- Evidence
- DexSemon/CVE-2026-27495/exploit.py:208
GET /rest/executions/{var}
- Ports
- 5678, 8080
- Seen in
- 1 repo: DexSemon/CVE-2026-27495
- Evidence
- DexSemon/CVE-2026-27495/exploit.py:157
GET /rest/workflows/{var}
- Ports
- 5678, 8080
- Seen in
- 1 repo: DexSemon/CVE-2026-27495
- Evidence
- DexSemon/CVE-2026-27495/exploit.py:139
POST /rest/login
- Body markers
"emailOrLdapLoginId""password""email"inapplication/json- Ports
- 5678, 8080
- Seen in
- 1 repo: DexSemon/CVE-2026-27495
- Evidence
- DexSemon/CVE-2026-27495/exploit.py:96 DexSemon/CVE-2026-27495/exploit.py:100
POST /rest/owner/setup
- Body markers
"email""firstName":"Admin""lastName":"User""password"inapplication/json- Ports
- 5678, 8080
- Seen in
- 1 repo: DexSemon/CVE-2026-27495
- Evidence
- DexSemon/CVE-2026-27495/exploit.py:86
POST /rest/workflows
- Body markers
"name""nodes""connections""settings"inapplication/json- Ports
- 5678, 8080
- Seen in
- 1 repo: DexSemon/CVE-2026-27495
- Evidence
- DexSemon/CVE-2026-27495/exploit.py:134
POST /rest/workflows/{var}/run
- Key headers
Push-Ref: {var}- Body markers
"triggerToStartFrom""workflowData"inapplication/json- Ports
- 5678, 8080
- Seen in
- 1 repo: DexSemon/CVE-2026-27495
- Evidence
- DexSemon/CVE-2026-27495/exploit.py:144
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/rest/workflows/[^/?#]*(?:[?#].*)?$
(?i)^/rest/executions/[^/?#]*(?:[?#].*)?$
(?i)^/rest/workflows/[^/?#]*(?:[?#].*)?$
(?i)^/rest/login(?:[?#].*)?$
(?i)^/rest/owner/setup(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [5678,8080] (msg:"GG PoC-Monitor CVE-2026-27495 n8n-io n8n exploit attempt"; flow:established,to_server; http.method; content:"DELETE"; http.uri; content:"/rest/workflows/"; reference:url,poc.griffinguard.io/cve/CVE-2026-27495; classtype:web-application-attack; sid:9864625; rev:1;)
alert http any any -> $HOME_NET [5678,8080] (msg:"GG PoC-Monitor CVE-2026-27495 n8n-io n8n exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/rest/executions/"; reference:url,poc.griffinguard.io/cve/CVE-2026-27495; classtype:web-application-attack; sid:9632543; rev:1;)
alert http any any -> $HOME_NET [5678,8080] (msg:"GG PoC-Monitor CVE-2026-27495 n8n-io n8n exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/rest/workflows/"; reference:url,poc.griffinguard.io/cve/CVE-2026-27495; classtype:web-application-attack; sid:9828926; rev:1;)
alert http any any -> $HOME_NET [5678,8080] (msg:"GG PoC-Monitor CVE-2026-27495 n8n-io n8n exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/rest/login"; http.request_body; content:"|22|emailOrLdapLoginId|22|"; http.request_body; content:"|22|password|22|"; http.request_body; content:"|22|email|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-27495; classtype:web-application-attack; sid:9517985; rev:1;)
alert http any any -> $HOME_NET [5678,8080] (msg:"GG PoC-Monitor CVE-2026-27495 n8n-io n8n exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/rest/owner/setup"; http.request_body; content:"|22|email|22|"; http.request_body; content:"|22|firstName|22|:|22|Admin|22|"; http.request_body; content:"|22|lastName|22|:|22|User|22|"; http.request_body; content:"|22|password|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-27495; classtype:web-application-attack; sid:9789705; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: n8n-io n8n exploit attempt (CVE-2026-27495)
id: gg-pocmon-cve-2026-27495-9864625
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-27495. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-27495
logsource:
category: webserver
detection:
selection:
cs-method: DELETE
cs-uri-stem|contains|all:
- '/rest/workflows/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.27495
title: n8n-io n8n exploit attempt (CVE-2026-27495)
id: gg-pocmon-cve-2026-27495-9632543
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-27495. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-27495
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/rest/executions/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.27495
title: n8n-io n8n exploit attempt (CVE-2026-27495)
id: gg-pocmon-cve-2026-27495-9828926
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-27495. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-27495
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/rest/workflows/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.27495
title: n8n-io n8n exploit attempt (CVE-2026-27495)
id: gg-pocmon-cve-2026-27495-9517985
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-27495. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-27495
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/rest/login'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.27495
title: n8n-io n8n exploit attempt (CVE-2026-27495)
id: gg-pocmon-cve-2026-27495-9789705
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-27495. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-27495
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/rest/owner/setup'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.27495