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.
CVE-2026-85165
CVSS base score
9.9 (v3.1)
Severity
CRITICAL
Attack vector
Network
Weakness
CWE-95
Last modified
October 29, 2026
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Affected products
n8n n8n
References
- github.com Mitigation, Vendor Advisory
- www.vulncheck.com Third Party Advisory