CVE-2026-85165
largeExpression sandbox bypass in n8n lets authenticated users mutate host objects
n8n versions before 2.36.2 contain an expression sandbox bypass (CWE-95) in which free identifiers appearing in spread, computed-key, switch-case, or class-extension positions resolve against process globals instead of staying confined to the expression sandbox. An authenticated user with workflow-edit permission can trigger the flaw by evaluating a crafted expression, mutating host objects so that the changes persist process-wide until the n8n process is restarted. An attacker gains tampering with the automation host, with integrity and availability impact rated High and confidentiality impact Low, for a CVSS 4.0 score of 7.2 (High). All self-hosted n8n deployments running versions prior to 2.36.2 are affected; the data does not state the status of vendor-managed cloud tenants, so self-hosted operators are the primary population at risk. No public proof-of-concept is known, the flaw is not in CISA KEV, and EPSS estimates only a 0.3% probability of exploitation in the next 30 days, so exploitation is not currently known to be occurring.
What to do: Upgrade self-hosted n8n to version 2.36.2 or later. Until patched, restrict workflow-edit permissions to trusted users and review workflows that use spread, computed-key, switch-case, or class-extension expressions; restart the n8n process after upgrading to clear any host objects mutated by prior expressions.
| n8n | all versions before 2.36.2 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
- Vendors
- n8n
- Products
- n8n
- Weakness
- CWE-95
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
In the news0 stories
No ingested article mentions this CVE yet.