CVE-2026-49444

n8n: Python sandbox escape

Published Jun 23, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

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, exploiting an improper input validation flaw (CWE‑20). This vulnerability is fixed in 1.123.48, 2.21.8, and 2.22.4.

Affected Systems

The open‑source workflow automation platform n8n is affected. Versions prior to 1.123.48, 2.21.8, and 2.22.4 are vulnerable; users running these versions are at risk only if they have authenticated permissions to create or modify workflows containing Python Code Nodes. Those with no such permissions are not able to exploit this vulnerability.

Risk and Exploitability

The CVSS score of 7.1 reflects a high severity and medium- to high-level exploitation potential. The risk is limited to authenticated users who have workflow creation or editing rights, but once exploited the attacker gains unrestricted access to the task runner environment. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, indicating that while it is serious, there is no confirmed exploitation in the wild at this time.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to n8n version 1.123.48, 2.21.8, 2.22.4, or later which includes the sandbox fix
  • Restrict editorial privileges so that only trusted users can create or modify workflows containing Python Code Nodes
  • Impose strict monitoring and logging on the task runner container to detect any unauthorized activity

Generated by OpenCVE AI on June 24, 2026 at 11:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-9pq8-m8gp-4p53 n8n: Python sandbox escape
History
Type Values Removed Values Added
First Time appeared N8n
N8n n8n
Vendors & Products N8n
N8n n8n
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title n8n: Python sandbox escape
Weaknesses CWE-20
References
Metrics cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 23, 2026, 5:33 PM
Reserved
May 30, 2026, 2:43 AM
Status
Analyzed
Published
Jun 23, 2026, 5:17 PM
Modified
Oct 26, 2026, 11:10 AM