Skip to content

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

HighCVSS 7.2 EPSS 0.57%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
n8n < 2.35.4; >= 2.36.0, <= 2.36.2 2.35.4 Fixed
npm n8n < 2.35.4; >= 2.36.0, < 2.36.2 2.35.4, 2.36.2 Fixed

Affected products

ProductAffected versionsFixed in
npm n8n >= 2.36.0, < 2.36.2 2.36.2
npm n8n < 2.35.4 2.35.4
n8n < 2.35.4 2.35.4
n8n >= 2.36.0, <= 2.36.2 No fix listed

References