CVE-2026-85169
n8n before 1.123.73 Remote Code Execution via $fromAI Prototype Leak
- State
- Published
- Severity
- 8.7 High
- Published
- Sep 3, 2026
- Updated
- Oct 29, 2026
- Reserved
- Sep 3, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.7 High | 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 | VulnCheck |
Weaknesses
- CWE-94 Improper Control of Generation of Code ('Code Injection')
Affected Products
| Product | Versions |
|---|---|
n8nn8n-io |
|
n8nn8n-io |
|
n8nn8n-io |
|
References
- GitHub Security Advisory (GHSA-9x83-43r8-5hwc)vendor-advisory
- VulnCheck Advisory: n8n before 1.123.73 Remote Code Execution via $fromAI Prototype Leakthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.