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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| n8n-io | n8n | 2.32.0 – < 2.32.1, < 2.31.5 | 2.32.1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | n8n | >= 2.32.0, < 2.32.1 | 2.32.1 | GHSA-gv7g-jm28-cr3m |
| npm | n8n | < 2.31.5 | 2.31.5 | GHSA-gv7g-jm28-cr3m |
Advisories 1
- WID-SEC-2026-2489 n8n: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
References
- GitHub Security Advisory (GHSA-gv7g-jm28-cr3m) vendor-advisory
- VulnCheck Advisory: n8n before 2.32.1 Remote Code Execution via Expression Sandbox Escape third-party-advisory