RCE in N8n
CVE-2026-85169
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.009 (58.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 58th percentile — 58.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.009 · change: +0.004
Affected products
Weakness classification (CWE)
References
- github.com/n8n-io/n8n/security/advisories/GHSA-9x83-43r8-5hwc (vendor-advisory, Mitigation, Vendor Advisory)
- www.vulncheck.com/advisories/n8n-before-1.123.73-remote-code-execution-via-from… (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-85169?
- CVE-2026-85169 is a high-severity vulnerability in N8n, classified under Code Injection. CVSS score: 8.8/10. Published 2026-09-03.
- How severe is CVE-2026-85169?
- High severity. CVSS v3 base score is 8.8 out of 10.