CVE-2026-85165: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in n8n-io n8n
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.
CVSS v4.0
Score 7.2high
Affected software
n8n-io
n8n
n8n-io
n8n
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-85165 describes an improper neutralization of directives in dynamically evaluated code (eval injection) in n8n versions prior to 2.36.2. The vulnerability arises because free identifiers in certain JavaScript expression contexts (spread, computed-key, switch-case, or class-extension positions) resolve against process globals, allowing authenticated users with workflow-edit permissions to execute expressions that mutate host objects. These changes persist across the process lifetime until a restart occurs.
Potential Impact
An attacker with workflow-edit permissions can leverage this vulnerability to alter host process objects, potentially impacting the application's behavior or security state persistently until the service is restarted. This could lead to unauthorized code execution or manipulation within the n8n process context.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch information is provided in the available data. Until a patch is available, restrict workflow-edit permissions to trusted users only and consider restarting the n8n process regularly to clear any persistent mutations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-03T11:05:09.078Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a995c08acd9273b49dbb6a3
Added to database: 09/03/2026, 11:37:44 UTC
Last enriched: 09/07/2026, 13:17:51 UTC
Last updated: 10/19/2026, 18:48:24 UTC
Views: 77
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.