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.
Published: 2026-09-03
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote code execution via host object tampering
Action: Patch
AI Analysis

Impact

n8n versions before 2.36.2 allow an expression sandbox bypass where free identifiers used in spread elements, computed keys, switches, or class extensions are resolved against process globals. Authenticated users with workflow‑edit permission can evaluate malicious expressions that mutate host objects, and those changes persist across the entire process until a restart. This flaw enables an attacker to alter the server’s runtime environment, potentially injecting code or enabling further exploitation. The underlying weakness is identified as CWE‑95, improper neutralization of elements used in a command or interface.

Affected Systems

All n8n instances from the n8n‑io project that are running a version older than 2.36.2 are affected. The vulnerability applies to the n8n workflow automation platform and any deployment using the default expression sandbox.

Risk and Exploitability

The CVSS score of 7.2 indicates moderate severity. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog, suggesting limited evidence of exploitation in the wild. However, the attack requires authenticated access with workflow‑edit rights; once obtained, the attacker can alter process‑wide state by crafting a workflow containing the vulnerable expressions. The lack of a publicly available exploitation script or reported incidents does not reduce the need for caution, as the persistence of changes could lead to persistent compromise of the host environment. The risk is elevated for environments where users with workflow‑edit rights are not tightly controlled or monitored.

Generated by OpenCVE AI on September 3, 2026 at 13:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the n8n installation to version 2.36.2 or later, which patches the sandbox bypass flaw.
  • Restrict workflow‑edit permissions to only trusted users and review role definitions to ensure no excessive privileges.
  • Audit existing workflows for suspicious expression usage and refactor or remove any that rely on potentially unsafe syntax such as spread elements or computed keys.

Generated by OpenCVE AI on September 3, 2026 at 13:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 10 Sep 2026 20:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


Thu, 03 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 03 Sep 2026 11:30:00 +0000

Type Values Removed Values Added
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.
Title n8n before 2.36.2 Expression Sandbox Bypass via SpreadElement
First Time appeared N8n
N8n n8n
Weaknesses CWE-95
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV4_0

{'score': 7.2, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-03T12:22:07.824Z

Reserved: 2026-09-03T11:05:09.078Z

Link: CVE-2026-85165

cve-icon Vulnrichment

Updated: 2026-09-03T12:22:00.823Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-03T13:06:23.710

Modified: 2026-09-10T19:55:37.867

Link: CVE-2026-85165

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T15:30:05Z

Weaknesses
  • CWE-95

    Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')