Skip to main content
VulnerabilityPublished Updated

CVE-2026-27495: n8n has a Sandbox Escape

Affects n8nSource GCVE Database

0
Compare
Authoritative record:CVE-2026-27495· Critical 9.4

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

CVSS 4.0 base score
9.4Critical
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
npmn8nAffected
  • <1.123.22
Fixed in
  • 1.123.22
npmn8nAffected
  • >=2.0.0 <2.9.3
Fixed in
  • 2.9.3
npmn8nAffected
  • >=2.10.0 <2.10.1
Fixed in
  • 2.10.1
npm@n8n/task-runnerAffected
  • <1.59.16
Fixed in
  • 1.59.16
npm@n8n/task-runnerAffected
  • >=2.0.0 <2.9.1
Fixed in
  • 2.9.1
npm@n8n/task-runnerAffected
  • >=2.10.0 <2.10.1
Fixed in
  • 2.10.1

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

Community reviews

Loading reviews…