What’s Vulnerable › Vulnerabilities

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

Description

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 products

How to fix

Upgrade to a fixed version: n8n-io n8n 2.35.4; n8n-io n8n 2.36.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-85165 or the next vulnerability affects your stack