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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-94"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72765.json"
}{
"cpe": [
"cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*",
"cpe:2.3:a:n8n:n8n:2.32.0:*:*:*:*:node.js:*:*"
],
"extracted_events": [
{
"introduced": "2.31.0"
},
{
"fixed": "2.31.5"
},
{
"introduced": "2.32.0"
},
{
"last_affected": "2.32.0"
}
],
"source": [
"CPE_RANGE",
"CPE_STRING"
]
}