Description
n8n before 2.31.5 and before 2.32.1 contain a sandbox escape vulnerability in expression evaluation. An authenticated user with permission to create or modify workflows can craft expressions using arrow-function bodies to bypass the expression sandbox, triggering system command execution on the host running n8n. The issue is fixed in versions 2.31.5 and 2.32.1.
Published: 2026-08-11
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

n8n versions earlier than 2.31.5 and before 2.32.1 contain a sandbox escape vulnerability in the expression engine. The flaw is a CWE-94 (Code Injection) weakness that allows an authenticated user who can create or modify workflows to craft arrow‑function expressions that bypass the expression sandbox and trigger arbitrary system command execution on the host running n8n. This gives the attacker full control over the underlying operating system, effectively compromising confidentiality, integrity, and availability of the system.

Affected Systems

The vulnerable product is n8n from n8n‑io. Versions prior to 2.31.5 and before 2.32.1 are affected. The fix is included in both 2.31.5 and 2.32.1 releases.

Risk and Exploitability

The CVSS score of 8.7 reflects a high severity RCE risk. The EPSS score is not available, indicating insufficient public data on exploitation likelihood, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is an authenticated attacker with workflow‑creation or modification permissions; thus internal use of n8n or compromised credentials can be used to trigger the exploit. Addressing the issue by upgrading or restricting permissions is essential to mitigate this high‑risk vulnerability.

Generated by OpenCVE AI on August 12, 2026 at 00:10 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade n8n to version 2.31.5 or later (including .32.1) where the sandbox escape is fixed.
  • Restrict workflow creation or modification rights to trusted users until the system is upgraded.
  • Enable audit logging for expression evaluations and monitor for suspicious commands or unauthorized workflow changes.

Generated by OpenCVE AI on August 12, 2026 at 00:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 11 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 11 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description n8n before 2.31.5 and before 2.32.1 contain a sandbox escape vulnerability in expression evaluation. An authenticated user with permission to create or modify workflows can craft expressions using arrow-function bodies to bypass the expression sandbox, triggering system command execution on the host running n8n. The issue is fixed in versions 2.31.5 and 2.32.1.
Title n8n before 2.32.1 Remote Code Execution via Expression Sandbox Escape
First Time appeared N8n
N8n n8n
Weaknesses CWE-94
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
Vendors & Products N8n
N8n n8n
References
Metrics 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-08-11T17:50:33.952Z

Reserved: 2026-08-10T15:06:16.417Z

Link: CVE-2026-72765

cve-icon Vulnrichment

Updated: 2026-08-11T17:44:23.392Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-11T13:19:06.670

Modified: 2026-08-31T20:34:15.827

Link: CVE-2026-72765

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T10:45:03Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')