Vulnerability details

CVE-2026-85169

n8n-io n8n

n8n before 1.123.73 Remote Code Execution via $fromAI Prototype Leak

CVSS 4.0
8.7High

Official 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.

CVSS scores

ScoreVersionSourceVector
8.7High 4.0 CVEProject cvelistV5 (CNA) (VulnCheck) 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

Affected products

VendorProductVersionsSource
n8n-io n8n v < 1.123.73 CVEProject cvelistV5 (CNA)
n8n-io n8n 2.0.0-rc.0 ≤ v < 2.35.4 CVEProject cvelistV5 (CNA)
n8n-io n8n 2.36.0 ≤ v < 2.36.2 CVEProject cvelistV5 (CNA)

References and advisories

2
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-09-03
Last updated
2026-10-30
State
Published
Assigner (CNA)
VulnCheck

Exploit prediction (EPSS)

0.87%
Probability of exploitation in 30 days
59.2%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
None
Technical impact
Total

Weaknesses (CWE)

  • CWE-94
    Improper Control of Generation of Code ('Code Injection')