CVE-2026-85169
published high CVSS 4.0 · 8.7n8n before 1.123.73 Remote Code Execution via $fromAI Prototype Leak
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n8n-io | — | n8n0 to < 1.123.73 (affected · semver) · 1.123.73 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| n8n-io | — | n8n2.36.0 to < 2.36.2 (affected · semver) · 2.36.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| n8n-io | — | n8n2.0.0-rc.0 to < 2.35.4 (affected · semver) · 2.35.4 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n8n-io | n8n | 0 to < 1.123.73 (affected · semver)1.123.73 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| n8n-io | n8n | 2.36.0 to < 2.36.2 (affected · semver)2.36.2 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| n8n-io | n8n | 2.0.0-rc.0 to < 2.35.4 (affected · semver)2.35.4 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
2- GitHub Security Advisory (GHSA-9x83-43r8-5hwc) https://github.com/n8n-io/n8n/security/advisories/GHSA-9x83-43r8-5hwc
- VulnCheck Advisory: n8n before 1.123.73 Remote Code Execution via $fromAI Prototype Leak https://www.vulncheck.com/advisories/n8n-before-1.123.73-remote-code-execution-via-fromai-prototype-leak
Provider assertions
2VulnCheck · cna
n8n before 1.123.73 Remote Code Execution via $fromAI Prototype Leak
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c052fe32dce75dc3a2f3b282806bd5fb47c3905d683705058561f8c8c37c8717
- Ingested
- 29 Oct 2026, 21:23:06 UTC
- Source record
- Official CVE record