CVE-2026-72765

n8n before 2.32.1 Remote Code Execution via Expression Sandbox Escape

State
Published
Severity
8.7 High
Published
Aug 11, 2026
Updated
Oct 29, 2026
Reserved
Aug 10, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck

Weaknesses

  • CWE-94 Improper Control of Generation of Code ('Code Injection')

Affected Products

ProductVersions
n8nn8n-io
  • 2.32.0 to before 2.32.1Affected
  • 2.32.1Not affected
n8nn8n-io
  • before 2.31.5Affected
  • 2.31.5Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.