PT-2026-22029 · N8N · N8N

Marcopolopie

+1

·

Published

2026-02-25

·

Updated

2026-03-05

·

CVE-2026-27494

CVSS v3.1

9.9

Critical

VectorAV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions n8n versions prior to 2.10.1 n8n versions prior to 2.9.3 n8n versions prior to 1.123.22
Description An authenticated user with permission to create or modify workflows could exploit the Python Code node to escape the sandbox. The sandbox did not sufficiently restrict access to certain built-in Python objects, potentially allowing an attacker to exfiltrate file contents or achieve Remote Code Execution (RCE). On instances using internal Task Runners (default runner mode), this could lead to a full compromise of the n8n host. On instances using external Task Runners, an attacker might gain access to or impact other tasks executed on the Task Runner. Task Runners must be enabled using the N8N RUNNERS ENABLED variable.
Recommendations Upgrade to n8n version 2.10.1 or later. Upgrade to n8n version 2.9.3 or later. Upgrade to n8n version 1.123.22 or later. If upgrading is not immediately possible, limit workflow creation and editing permissions to fully trusted users only. If upgrading is not immediately possible, disable the Code node by adding n8n-nodes-base.code to the NODES EXCLUDE environment variable.

Exploit

Fix

RCE

Weakness Enumeration

Related Identifiers

CVE-2026-27494
GHSA-MMGG-M5J7-F83H

Affected Products

N8N