{"id":"CVE-2026-85169","aliases":["CVE-2026-85169"],"related":[],"kind":"vulnerability","state":"published","title":"n8n before 1.123.73 Remote Code Execution via $fromAI Prototype Leak","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-03T11:22:18.688Z","modified":"2026-10-29T21:17:34.280Z","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":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.123.73","status":"affected"},{"type":"semver","version":"1.123.73","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.36.0","fixed":"2.36.2","status":"affected"},{"type":"semver","version":"2.36.2","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.0.0-rc.0","fixed":"2.35.4","status":"affected"},{"type":"semver","version":"2.35.4","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.123.73"},{"status":"affected","introduced":"2.0.0","fixed":"2.35.4"},{"status":"affected","introduced":"2.36.0","fixed":"2.36.2"}],"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-9x83-43r8-5hwc","tags":["mitigation","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/n8n-before-1.123.73-remote-code-execution-via-fromai-prototype-leak","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Haruna38"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-09-04T03:55:59.136Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-85169","url":"https://www.cve.org/CVERecord?id=CVE-2026-85169","licence":"CVE Terms of Use","modified":"2026-10-29T21:17:00.267Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-85169","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85169","licence":"Public domain","modified":"2026-10-29T21:17:34.280Z"}],"updatedAt":"2026-11-25T22:59:36.180Z","epss":{"score":0.00605,"percentile":0.50326,"date":"2026-12-01T12:00:22.000Z"}}