{"id":"CVE-2026-85169","published":"2026-09-03T11:22:18Z","modified":"2026-10-29T21:17:00Z","title":"n8n before 1.123.73 Remote Code Execution via $fromAI Prototype Leak","vendor":"n8n","product":"n8n","tier":"tail","description":{"text":"n8n versions before 1.123.73, 2.35.4, and 2.36.2 contain an expression sandbox escape in the $fromAI handler. $fromAI resolved a caller-supplied placeholder name without requiring it to be an own property and admitted reserved keys; against a primitive input value it returned a live host-prototype reference. An attacker with workflow-build privilege can walk the prototype chain to the Function constructor and compile/execute arbitrary code in the main n8n process, leading to remote code execution.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00879,"percentile":0.59953,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-9x83-43r8-5hwc","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/n8n-before-1.123.73-remote-code-execution-via-fromai-prototype-leak","tags":["third-party-advisory"]}],"priority":{"score":18.1,"factors":[{"name":"EPSS percentile","points":11.99},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"n8n","affectedVersions":[{"vendor":"n8n-io","product":"n8n","versions":["< 1.123.73"]},{"vendor":"n8n-io","product":"n8n","versions":[">= 2.36.0, < 2.36.2"]},{"vendor":"n8n-io","product":"n8n","versions":[">= 2.0.0-rc.0, < 2.35.4"]}],"fixedVersions":[{"vendor":"n8n-io","product":"n8n","versions":["1.123.73"]},{"vendor":"n8n-io","product":"n8n","versions":["2.36.2"]},{"vendor":"n8n-io","product":"n8n","versions":["2.35.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-04T03:55:59.136478Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-70404","exploited":false,"provenance":"source"}}