CVE-2026-72765
HIGH 8.7CVSS 4.0n8n: Expression sandbox escape via arrow-function bodies enabling command execution
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
- 11 Aug 2026
- Last modified
- 29 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-94
- Also known as
- GHSA-gv7g-jm28-cr3m
- Sources
- NVDJSONOSV GHSA-gv7g-jm28-cr3mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* |
>= 2.31.0, < 2.31.5 | 2.31.5 |
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:2.32.0:*:*:*:*:node.js:*:* |
= 2.32.0 | |
| OSV | npm | n8n | >= 2.32.0, < 2.32.1 | 2.32.1 |
| OSV | npm | n8n | < 2.31.5 | 2.31.5 |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-gv7g-jm28-cr3m · Mitigation, Vendor Advisory, WEB
- https://www.vulncheck.com/advisories/n8n-before-remote-code-execution-via-expression-sandbox-escape · Third Party Advisory
- https://github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f · WEB
- https://github.com/n8n-io/n8n · PACKAGE
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.31.5 · WEB
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.32.1 · WEB
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 11 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Jul 2026)