Improper input validation in N8n

CVE-2026-49444

n8n is an open source workflow automation platform. Prior to 1.123.48, 2.21.8, and 2.22.4, an authenticated user with permission to create or modify workflows containing a Python Code Node could escape the sandbox and achieve arbitrary code execution on the task runner container. This vulnerability is fixed in 1.123.48, 2.21.8, and 2.22.4.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N.

EPSS exploit prediction

EPSS 0.004, 33.1th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • N8n
  • N8n-Io N8n — versions < 1.123.48, >= 2.0.0-rc.0, < 2.21.8, >= 2.22.0, < 2.22.4

Weakness classification (CWE)

References