n8nPublished 3 Sept 2026NVD status: Analyzed

CVE-2026-85165

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.

Componentn8n
Severitycritical (CVSS 9.9)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Published (NVD)2026-09-03
Last modified2026-10-29
Affected versions
< 2.35.4
>= 2.36.0, < 2.36.2
from the CVE Program record written by the CNA that assigned the CVE
Fixed in2.35.4, 2.36.2
WeaknessCWE-95
CISA KEVnot listed

Versions, checked against NVD

NVD's analysis reads < 2.35.4; >= 2.36.0, <= 2.36.2. The ranges above come from the CVE record written by VulnCheck, the CNA that assigned the CVE. The page and the scanner follow it: no more trusted source, and no two sources together, say otherwise (see the methodology).

NVD 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.

What to do

  • Upgrade n8n to the fixed release of the branch you run: 2.35.4 or 2.36.2, or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources

Read more