Skip to main content

n8n CVE-2026-85165

| EUVDEUVD-2026-70400 HIGH
Eval Injection (CWE-95)
2026-09-03 VulnCheck GHSA-qhgm-jv25-h5h2
7.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege workflow editor
  2. Delivery
    Craft expression using spread/computed-key/class-extension position
  3. Exploit
    Sandbox fails to intercept process-global identifier
  4. Execution
    Access and mutate Node.js host objects
  5. Impact
    Changes persist process-wide across all workflows

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid n8n account with workflow-edit permission (create or modify workflows). This is a non-default privilege in hardened deployments but commonly granted in collaborative or shared n8n instances. The attacker must craft expressions using one of the specific JavaScript syntax positions that bypass sandbox identifier resolution: SpreadElement, computed property key, switch-case expression, or class heritage/extension clause. No additional prerequisites are documented. Exploitation is limited to n8n versions before 2.36.2. What limits exploitation in practice: (1) authentication and workflow-edit permission gate access; (2) mutations are process-wide but do not directly write to the filesystem or exfiltrate data without further chaining; (3) a service restart clears mutated state. On single-user self-hosted instances, the attack surface is minimal, but the impact is severe on multi-user instances where cross-user process contamination is the primary risk.

Impact

The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H) reflects a network-reachable, low-complexity attack requiring low privileges - specifically, a valid account with workflow-edit permission. Real-world risk is moderated by the authentication requirement: this is not a zero-interaction pre-auth flaw, and exploitation is limited to users who have been granted workflow creation or editing rights. In multi-tenant n8n SaaS deployments or shared enterprise instances, this boundary is the critical control to assess. The integrity and availability impacts are rated High because process-wide host-object mutation can corrupt shared state for all workflows on the instance, potentially enabling prototype pollution or environment variable tampering that cascades into other users' workflow executions. No EPSS score was provided, no KEV listing exists, and no public POC has been identified, suggesting limited opportunistic exploitation to date. However, the persistent, cross-tenant impact makes this a meaningful insider or supply-chain-adjacent risk in multi-user deployments.

Exploit ScenarioDerived

An authenticated n8n user with workflow-edit rights creates a workflow containing a crafted expression that uses a computed property key or spread element to reference a process global such as process.env or Object.prototype. The sandbox fails to intercept the identifier resolution, and the attacker's code mutates a shared host object - for example, poisoning Object.prototype with a malicious property. The change persists across all n8n workflow executions on the same process, potentially affecting other users' data or enabling secondary privilege escalation through polluted object behavior. No public POC has been identified, but the vulnerability class (sandbox escape via AST node type omission) is well-understood and reproducible from the description.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 03, 2026

Expression sandbox bypass in n8n before 2.36.2 allows authenticated workflow editors to escape the sandboxed evaluation environment by placing free identifiers in spread, computed-key, switch-case, or class-extension positions, which resolve against Node.js process globals instead of the restricted sandbox scope. Exploiting this flaw enables mutation of host objects - including prototype chains or environment-level state - with those changes persisting process-wide until the n8n service is restarted, affecting all concurrent workflows and users on the same instance. No public exploit or CISA KEV listing has been identified at time of analysis; patch version 2.36.2 is confirmed via the GitHub Security Advisory.

RemediationAI

Upgrade n8n to version 2.36.2 or later, as confirmed by the vendor advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-fg85-4wv2-p98j. For organizations unable to upgrade immediately, the most effective compensating control is restricting workflow-edit permissions to the minimum set of trusted users, since exploitation requires that permission. Disabling user-defined expressions in untrusted-user workflows (if n8n's RBAC permits granular permission scoping) reduces exposure but may impact legitimate workflow functionality. Monitoring for unusual process-level state changes or anomalous workflow expression patterns can provide detection coverage. A service restart clears any already-mutated host objects, though it does not prevent re-exploitation if the underlying issue is unpatched.

Affected VersionsENISA

n8n 0 <2.35.4
n8n 0 <2.36.2

Affected Packages

euvd n8n fix: 2.35.4, 2.36.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

n8n is a Node.js-based open-source workflow automation platform (CPE: cpe:2.3:a:n8n-io:n8n) that exposes an expression evaluation sandbox allowing users to write JavaScript-like expressions within workflow nodes. The sandbox is intended to restrict access to the process environment, but CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code / Eval Injection) identifies the root cause: certain JavaScript AST node types - SpreadElement, computed property keys, switch-case discriminants, and class heritage expressions - are not correctly intercepted by the sandbox's identifier resolution logic. Free identifiers in these positions fall through to the underlying Node.js global/process scope, granting access to objects such as process.env, global prototypes, and module infrastructure. Because n8n workflows run within a single persistent Node.js process, mutations made to these objects are not scoped per-request and persist for the lifetime of the process.

Know when N8n gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.2 HIGH
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
vuln.today AI 9.9 CRITICAL

Network-reachable with low auth (workflow-edit); scope changes because process-wide host mutation impacts all concurrent workflows and users beyond the attacker's own session.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:L/SA:L

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Sep 03, 2026 - 13:01 EUVD
CVE Published
Sep 03, 2026 - 11:22 cve.org
HIGH 7.2

DescriptionCVE.org

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.

Technical POC Analysis

CWE-95 (Eval Injection) is the label supplied in the prompt; the advisory itself lists no CWE.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

n8n workflow automation instances are vulnerable to a sandbox escape that allows authenticated workflow editors to manipulate host system objects and environment state, with changes persisting across all workflows and users on the affected instance until service restart. Organizations using n8n must prioritize patching to prevent insider threats and cross-workflow data/state contamination within their automation platform.

Business Impact: High
Compensating Controls

Apply vendor patch: upgrade to n8n 2.36.2 or later. Until patched, restrict workflow editor permissions to trusted users and monitor for unauthorized workflow modifications.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Medium
popular open-source workflow automation platform, growing enterprise adoption
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

More in N8n

View all
CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2026-21877 CRITICAL POC
9.9 Jan 08

n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with

CVE-2026-21858 CRITICAL POC
10.0 Jan 08

n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical

CVE-2026-1470 CRITICAL POC
9.9 Jan 27

n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft

CVE-2025-65964 CRITICAL POC
9.4 Dec 09

Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin

CVE-2026-33696 CRITICAL POC
9.4 Mar 25

A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti

CVE-2026-33660 CRITICAL POC
9.4 Mar 25

An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit

CVE-2025-55526 CRITICAL POC
9.1 Aug 26

n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w

CVE-2026-33665 HIGH POC
8.8 Mar 25

Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP

CVE-2023-27563 HIGH POC
8.8 May 10

The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability

CVE-2026-33713 HIGH POC
8.7 Mar 25

SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute

CVE-2026-0863 HIGH POC
8.5 Jan 18

Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy