Description
n8n before 2.42.6, 2.43.x before 2.43.3, and 3.x before 3.0.1 contains a remote code execution vulnerability via deprecated Function, Function Item, and LangChain Code nodes running outside task runner isolation. Authenticated users who can create, modify, or import workflows naming these hidden node types can execute JavaScript in the n8n main process.
Published: 2026-10-30
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Patch Now
AI Analysis

Impact

n8n versions prior to 2.42.6, 2.43.3, and 3.0.1 contain a critical flaw whereby deprecated Function, Function Item, and LangChain Code nodes run outside the intended task‑runner isolation. This allows an authenticated user who can create, modify, or import workflows that reference these hidden node types to execute arbitrary JavaScript within the n8n main process, bypassing the sandbox that normally confines workflow execution. The weakness is a Code Injection flaw (CWE‑653), enabling a user to run untrusted code as the n8n process, potentially compromising the entire host system.

Affected Systems

The vulnerability affects the n8n automation server released by n8n‑io. All deployed instances running any of the following version ranges are impacted: any release before 2.42.6, any release before 2.43.3 in the 2.43.x branch, and any release before 3.0.1 in the 3.x branch.

Risk and Exploitability

The CVSS score is 8.7, indicating a high severity. The EPSS score is not available, but the existence of the flaw and lack of restrictions on workflow creation for authenticated users suggest a non‑negligible exploitation likelihood. The vulnerability is not currently listed in the CISA KEV catalog, yet the ability to run arbitrary code in the main process constitutes a severe loss of confidentiality, integrity, and availability. The attack vector is inferred to require an authenticated account with permissions to create, modify, or import workflows that include the vulnerable node types. If such a user can import untrusted workflows, the risk of compromise is immediate.

Generated by OpenCVE AI on October 30, 2026 at 12:24 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update n8n to version 2.42.6 or newer, 2.43.3 or newer, or 3.0.1 or newer to remove the vulnerable node behavior.
  • Restrict user privileges so that only trusted administrators can create, modify, or import workflows containing Function, Function Item, or LangChain Code nodes, or block the import of such node types entirely.
  • Audit existing workflows for references to the deprecated node types and remove any that are uncontrolled or originate from untrusted sources.

Generated by OpenCVE AI on October 30, 2026 at 12:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 11:45:00 +0000

Type Values Removed Values Added
Description n8n before 2.42.6, 2.43.x before 2.43.3, and 3.x before 3.0.1 contains a remote code execution vulnerability via deprecated Function, Function Item, and LangChain Code nodes running outside task runner isolation. Authenticated users who can create, modify, or import workflows naming these hidden node types can execute JavaScript in the n8n main process.
Title n8n before 2.42.6, 2.43.3 and 3.0.1 Code Execution Outside Task Runner Isolation via Deprecated Function Nodes
First Time appeared N8n
N8n n8n
Weaknesses CWE-653
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV3_1

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

cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-30T11:30:45.729Z

Reserved: 2026-10-30T01:22:43.448Z

Link: CVE-2026-119408

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-30T12:16:37.283

Modified: 2026-10-30T12:16:37.413

Link: CVE-2026-119408

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-30T13:45:14Z

Weaknesses
  • CWE-653

    Improper Isolation or Compartmentalization