CVE-2026-72765
JSON

8.7high

n8n before 2.32.1 Remote Code Execution via Expression Sandbox Escape

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.86% (higher than 56% of CVEs)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-gv7g-jm28-cr3m

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.

Affected

Product or packageVersionsReported by
n8n-io n8nfrom 2.32.0 before 2.32.1, before 2.31.5
Not affected: 2.32.1, 2.31.5
CVE List
n8n (npm)from 2.32.0 before 2.32.1, before 2.31.5GitHub Advisory Database
n8n n8nfrom 2.31.0 before 2.31.5, 2.32.0NVD

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD9.9critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

Impact

An authenticated user with permission to create or modify workflows could abuse crafted expressions using arrow functions to bypass the expression sandbox, triggering unintended system command execution on the host running n8n.

Patches

The issue has been fixed in n8n versions 2.31.5 and 2.32.1. Users should upgrade to one of these versions or later to remediate the vulnerability.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations:

  • Restrict n8n instance access to fully trusted users only.
  • Restrict workflow creation and editing permissions to fully trusted users only.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

NVD (es)

n8n antes de 2.31.5 y antes de 2.32.1 contienen una vulnerabilidad de escape de sandbox en la evaluación de expresiones. Un usuario autenticado con permiso para crear o modificar flujos de trabajo puede elaborar expresiones utilizando cuerpos de funciones flecha para eludir el sandbox de expresiones, desencadenando la ejecución de comandos del sistema en el host que ejecuta n8n. El problema está solucionado en las versiones 2.31.5 y 2.32.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-72765 changed 2026-10-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-gv7g-jm28-cr3m changed 2026-08-12CC-BY-4.0
NVDCVE-2026-72765 changed 2026-10-29Public domain