{"id":"CVE-2026-72765","aliases":["CVE-2026-72765","GHSA-gv7g-jm28-cr3m"],"related":[],"kind":"vulnerability","state":"published","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 expression sandbox, triggering system command execution on the host running n8n. The issue is fixed in versions 2.31.5 and 2.32.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Impact\n\nAn authenticated user with permission to create or modify workflows could abuse crafted expressions using arrow functions to bypass the expression sandbox, triggering unintended system command execution on the host running n8n.\n\n## Patches\n\nThe issue has been fixed in n8n versions 2.31.5 and 2.32.1. Users should upgrade to one of these versions or later to remediate the vulnerability.\n\n## Workarounds\n\nIf upgrading is not immediately possible, administrators should consider the following temporary mitigations:\n- Restrict n8n instance access to fully trusted users only.\n- Restrict workflow creation and editing permissions to fully trusted users only.\n\nThese workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.","format":"markdown","source":"ghsa"},{"lang":"es","text":"n8n antes de 2.31.5 y antes de 2.32.1 contienen una vulnerabilidad de escape de sandbox en la evaluación de expresiones. Un usuario autenticado con permiso para crear o modificar flujos de trabajo puede elaborar expresiones utilizando cuerpos de funciones flecha para eludir el sandbox de expresiones, desencadenando la ejecución de comandos del sistema en el host que ejecuta n8n. El problema está solucionado en las versiones 2.31.5 y 2.32.1.","source":"nvd"}],"published":"2026-07-22T22:10:15.000Z","modified":"2026-10-29T21:16:38.269Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"2.32.0","fixed":"2.32.1","status":"affected"},{"type":"semver","version":"2.32.1","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"2.31.5","status":"affected"},{"type":"semver","version":"2.31.5","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.32.0","status":"affected","fixed":"2.32.1"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.31.5"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.31.0","fixed":"2.31.5"},{"status":"affected","version":"2.32.0"}],"vendor":"n8n","product":"n8n","cpe":"cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-gv7g-jm28-cr3m","tags":["mitigation","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/n8n-before-remote-code-execution-via-expression-sandbox-escape","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.31.5","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.32.1","tags":["web"],"sources":["ghsa"]}],"credits":["inaor"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-11T17:44:22.147Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72765","url":"https://www.cve.org/CVERecord?id=CVE-2026-72765","licence":"CVE Terms of Use","modified":"2026-10-29T21:16:38.269Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gv7g-jm28-cr3m","url":"https://github.com/advisories/GHSA-gv7g-jm28-cr3m","licence":"CC-BY-4.0","modified":"2026-08-12T04:26:17.264Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72765","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72765","licence":"Public domain","modified":"2026-10-29T20:17:34.257Z"}],"updatedAt":"2026-11-25T22:59:32.243Z","epss":{"score":0.00861,"percentile":0.56151,"date":"2026-11-30T12:00:22.000Z"}}