Skip to main content
← All vulnerabilities
CVE-2026-85169GHSA-9X83-43R8-5HWC

n8n before 1.123.73 Remote Code Execution via $fromAI Prototype Leak

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.123.73, 2.36.2, 2.35.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • n8n-io n8n

    fixed in 1.123.73

  • n8n-io n8n

    From 2.36.0 · fixed in 2.36.2

  • n8n-io n8n

    From 2.0.0-rc.0 · fixed in 2.35.4

References 2

GitHub · n8n-io/n8n

vulncheck.com