CVE-2026-27495

CRITICAL LAB

n8n <2.10.1/2.9.3/1.123.22 - Code Injection

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-27495. PoCs published by DexSemon.

AI-analyzed exploit summary This exploit demonstrates a sandbox escape in n8n's JavaScript Task Runner (CVE-2026-27495) by leveraging host-realm object leaks to achieve remote code execution (RCE). The PoC includes both a sandbox escape probe and full RCE payload, with detailed technical analysis of the vulnerability mechanics.

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.

Exploits (1)

github WORKING POC
by DexSemon · pythonpoc
https://github.com/DexSemon/CVE-2026-27495

This exploit demonstrates a sandbox escape in n8n's JavaScript Task Runner (CVE-2026-27495) by leveraging host-realm object leaks to achieve remote code execution (RCE). The PoC includes both a sandbox escape probe and full RCE payload, with detailed technical analysis of the vulnerability mechanics.

Classification
Working Poc 99%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: n8n versions < 1.123.22, 2.0.0–2.9.2, and 2.10.0
Auth required
Prerequisites: Authenticated access to n8n with Task Runners enabled · NODE_FUNCTION_ALLOW_BUILTIN=* (for full RCE, though sandbox escape probe works without it)
mistral-large-3 · analyzed Jul 08, 2026 Full analysis →

References (5)

Core 5

Scores

CVSS v3 9.9
EPSS 0.0060
EPSS Percentile 44.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Lab Environment

COMMUNITY
Community Lab
docker pull n8nio/n8n:2.10.0

Details

CWE
CWE-94
Status published
Products (2)
n8n/n8n < 1.123.22
npm/n8n 0 - 1.123.22npm
Published Feb 25, 2026
Tracked Since Feb 26, 2026