---
id: CVE-2026-72765
title: n8n before 2.32.1 Remote Code Execution via Expression Sandbox Escape
summary: >-
  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 expr…
severity: high
cvss: 8.7
cvssVector: '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'
cvssSource: cna
cwe:
  - CWE-94
vendor: n8n-io
product: n8n
affected:
  - n8n >= 2.32.0 < 2.32.1
  - n8n < 2.31.5
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-08-11T17:44:22.147940Z'
published: '2026-08-11'
updated: '2026-10-29'
sourceUpdated: '2026-10-29T21:16:38.269Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-72765'
references:
  - url: 'https://github.com/n8n-io/n8n/security/advisories/GHSA-gv7g-jm28-cr3m'
    label: GitHub Security Advisory (GHSA-gv7g-jm28-cr3m)
  - url: >-
      https://www.vulncheck.com/advisories/n8n-before-remote-code-execution-via-expression-sandbox-escape
    label: >-
      VulnCheck Advisory: n8n before 2.32.1 Remote Code Execution via Expression
      Sandbox Escape
tags:
  - cve.org
epss: 0.00861
epssPercentile: 0.58667
ingestedAt: '2026-11-03T08:39:35.590Z'
---

## Overview

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

- `n8n >= 2.32.0 < 2.32.1`
- `n8n < 2.31.5`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
