CVE-2026-85169: n8n before 1.123.73 Remote Code Execution via $fromAI Prototype Leak

Published Sep 3, 2026
·
Updated

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.

Affected Software

3 affected components
n8n<1.123.73
n8n=2.35.4
n8n=2.36.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade n8n to a version that resolves this vulnerability.

    Fixed in 1.123.73
  2. Upgrade

    Upgrade n8n to a version that resolves this vulnerability.

    Fixed in 2.35.4
  3. Upgrade

    Upgrade n8n to a version that resolves this vulnerability.

    Fixed in 2.36.2

Event History

Sep 3, 2026
CVE Published
via MITRE·11:22 AM
Data Sourced
via MITRE·11:22 AM
DescriptionWeakness

Frequently Asked Questions

1

Which releases include the fix?

The issue is fixed in n8n 1.123.73, 2.35.4, and 2.36.2. Versions before those respective releases are affected.

2

What level of access would an attacker need?

An attacker needs workflow-build privilege. With that privilege, they can exploit the $fromAI handler to reach the Function constructor and execute arbitrary code in the main n8n process.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203