CVE-2026-85165: n8n before 2.36.2 Expression Sandbox Bypass via SpreadElement

Published Sep 3, 2026
·
Updated

n8n versions before 2.36.2 contain an expression sandbox bypass vulnerability where free identifiers in spread, computed-key, switch-case, or class-extension positions resolve against process globals. Authenticated users with workflow-edit permission can mutate host objects through expression evaluation, with changes persisting process-wide until restart.

Affected Software

1 affected component
n8n 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 2.36.2
  2. Compensating control

    Because the mutated host object changes persist process-wide until restart, restart the n8n process after applying the upgrade to clear any process-global mutations from exploitation.

Event History

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

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated n8n user must have permission to edit workflows. The issue is therefore most relevant where workflow-edit access is granted to untrusted or insufficiently trusted users.

2

What access or interaction does exploitation require?

Exploitation requires evaluating a crafted expression in a workflow. No unauthenticated attack path is described in the available data.

3

What is the impact if exploitation succeeds?

A user can mutate host objects through expression evaluation. Those changes persist process-wide until the n8n process is restarted.

4

Which versions are affected, and what is the remediation?

n8n versions before 2.36.2 are affected. Upgrade to version 2.36.2 or later.

5

What can be done if an upgrade cannot happen immediately?

Restrict workflow-edit permission to trusted users, since that permission is required for exploitation. Restarting the n8n process clears process-wide changes that have already persisted, but does not remove the underlying vulnerability.

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