PoC Monitor
← All CVEs
CVE-2026-27495published 25 Feb 2026 22:10 UTCData: JSON · API

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.

First public PoC 133 daysafter publication · 8 Jul 2026
Public PoCs11 on GitHub
CVSS9.9critical · scored by NVD · CWE-94
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

n8n-io n8n
  • < 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

1 more

Timeline

Days relative to CVE publication
t=0+30+60+90+120CVE published25 Feb 2026 · t = 0First public PoC8 Jul 2026 · t+133d

First 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
RepositoryCreatedStarsAssessment
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 repo

DELETE /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" in application/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" in application/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" in application/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" in application/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.

DELETE /rest/workflows/{var}
(?i)^/rest/workflows/[^/?#]*(?:[?#].*)?$
GET /rest/executions/{var}
(?i)^/rest/executions/[^/?#]*(?:[?#].*)?$
GET /rest/workflows/{var}
(?i)^/rest/workflows/[^/?#]*(?:[?#].*)?$
POST /rest/login
(?i)^/rest/login(?:[?#].*)?$
POST /rest/owner/setup
(?i)^/rest/owner/setup(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

DELETE /rest/workflows/{var}
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;)
GET /rest/executions/{var}
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;)
GET /rest/workflows/{var}
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;)
POST /rest/login
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;)
POST /rest/owner/setup
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.

DELETE /rest/workflows/{var}
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
GET /rest/executions/{var}
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
GET /rest/workflows/{var}
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
POST /rest/login
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
POST /rest/owner/setup
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