{"id":"CVE-2026-72765","summary":"n8n before 2.32.1 Remote Code Execution via Expression Sandbox Escape","details":"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.","aliases":["GHSA-gv7g-jm28-cr3m"],"modified":"2026-09-03T03:48:19.092474315Z","published":"2026-08-11T12:17:06.331Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72765.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-94"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72765.json"},{"type":"ADVISORY","url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-gv7g-jm28-cr3m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72765"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/n8n-before-remote-code-execution-via-expression-sandbox-escape"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/n8n-io/n8n","events":[{"introduced":"6676eb33fec36637ec614413c090d61c01167198"},{"fixed":"aa3d214338d610300c3c7c70f0ed08e5675bc722"},{"introduced":"662a23c20278e66fb430c37ea18024dea31f69f3"},{"last_affected":"662a23c20278e66fb430c37ea18024dea31f69f3"}],"database_specific":{"source":["CPE_RANGE","CPE_STRING"],"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"}]}}],"versions":["2.32.0","n8n@2.32.0","n8n@2.31.3","n8n@2.31.2","n8n@2.31.1","n8n@2.31.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72765.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}