Description
n8n is an open source workflow automation platform. Prior to version 2.4.8, a vulnerability in the Python Code node allows authenticated users to break out of the Python sandbox environment and execute code outside the intended security boundary. This issue has been patched in version 2.4.8.
Published: 2026-02-04
Score: 9.4 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

n8n is an open source workflow automation platform that, prior to version 2.4.8, contains a flaw in the Python Code node. Authenticated users can escape the isolated Python sandbox, allowing them to execute arbitrary code beyond the intended boundary. This exposes the entire system to compromise, potentially enabling disclosure, modification, or destruction of data and services, and represents a high‑impact security failure.

Affected Systems

All n8n installations from the n8n‑io n8n product running any version earlier than 2.4.8 are affected. The vulnerability exists in the Python Code node component of the platform.

Risk and Exploitability

With a CVSS score of 9.4, the flaw is classified as critical, indicating that the attacker can achieve full control over the host system once the attack succeeds. However, the EPSS score is listed as less than 1%, suggesting that exploitation is currently unlikely. The vulnerability is not listed in the CISA KEV catalog. The required preconditions include authenticated access to the instance and ability to insert or execute code through the Python Code node. Successful exploitation results in unrestricted code execution on the host machine, posing a severe threat to confidentiality, integrity, and availability.

Generated by OpenCVE AI on April 17, 2026 at 23:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the n8n installation to version 2.4.8 or later, which contains the official fix.
  • Restrict access to the Python Code node, ensuring only trusted or administrative users can use it, or disable the node entirely if not needed.
  • Monitor n8n logs for attempts to execute Python code that deviate from normal workflow patterns, and investigate any suspicious activity promptly.

Generated by OpenCVE AI on April 17, 2026 at 23:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-8398-gmmx-564h n8n has a Python sandbox escape
History

Thu, 05 Feb 2026 20:45:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


Thu, 05 Feb 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 04 Feb 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared N8n
N8n n8n
Vendors & Products N8n
N8n n8n

Wed, 04 Feb 2026 17:15:00 +0000

Type Values Removed Values Added
Description n8n is an open source workflow automation platform. Prior to version 2.4.8, a vulnerability in the Python Code node allows authenticated users to break out of the Python sandbox environment and execute code outside the intended security boundary. This issue has been patched in version 2.4.8.
Title n8n is vulnerable to Python sandbox escape
Weaknesses CWE-693
References
Metrics cvssV4_0

{'score': 9.4, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-02-05T14:33:23.945Z

Reserved: 2026-01-29T14:03:42.539Z

Link: CVE-2026-25115

cve-icon Vulnrichment

Updated: 2026-02-05T14:23:16.941Z

cve-icon NVD

Status : Analyzed

Published: 2026-02-04T17:16:23.877

Modified: 2026-02-05T20:44:21.807

Link: CVE-2026-25115

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-17T23:30:15Z

Weaknesses