Skip to main content

n8n CVE-2026-65591

| EUVDEUVD-2026-47635 HIGH
Improper Neutralization of Special Elements used in an Expression Language Statement (CWE-917)
8.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with workflow-edit privileges
  2. Delivery
    Craft malicious computed-member expression
  3. Exploit
    Bypass legacy evaluator sanitizer
  4. Execution
    Execute code as n8n process
  5. Impact
    Full host compromise and lateral impact

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Expression language sanitization
Exploitation Conditions

Exploitation requires an authenticated n8n account with workflow create or modify permissions (CVSS PR:L) and that the target run the legacy expression evaluator, which is the default engine in affected versions - so default deployments are vulnerable, but only to users who can author or edit workflows. The CVSS 4.0 vector also sets AT:P, indicating an additional attack requirement/condition must be met for the sanitizer-bypass in the computed-member handler to succeed. Limiting factors that reduce real-world risk: the attacker cannot be fully unauthenticated (an account with edit rights is mandatory), deployments that have moved off the legacy engine or that lock down workflow-editing RBAC are not reachable, and the attack-requirement (AT:P) means it is not a guaranteed single-shot trigger. No user interaction from a victim is needed (UI:N).

Impact

This is a genuine priority rather than an inflated high-CVSS score. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N) shows network reachability, low complexity, and no user interaction, tempered by two real limiting factors: AT:P (a specific attack requirement/condition applies) and PR:L (the attacker must already hold an authenticated account with workflow create/modify rights). The impact metrics are severe and consistent - VC:H/VI:H/VA:H plus subsequent-system SC:H/SI:H (SA:L) - reflecting full compromise of the host and potential lateral impact, which justifies the 8.9 score. No EPSS score, KEV listing, or public POC was provided, so exploitation is not confirmed in the wild; the risk is driven by the low bar for an already-authenticated user and the fact that the vulnerable engine is the default. The chief mitigating reality is the privilege prerequisite: in n8n deployments where workflow editing is tightly restricted, exposure is much narrower than the network vector alone implies.

Exploit ScenarioDerived

An attacker who has been granted (or has phished/compromised) an account with workflow edit rights creates or edits a workflow and inserts a specially crafted expression whose computed-member access evades the legacy evaluator's sanitizer. When the expression is evaluated, it executes attacker-controlled code as the n8n process, giving the attacker a foothold on the host. No public POC has been identified at time of analysis, but the low attack complexity means a working exploit would be straightforward once the bypass technique is known.

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

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

Alert me

AnalysisAIv1 – Jul 22, 2026

Host-level remote code execution in n8n (n8n-io) occurs when an authenticated user with workflow create or modify permissions crafts a malicious expression that bypasses the sanitizer in the legacy expression evaluator's computed-member handler, executing arbitrary code as the n8n process. Because the legacy expression engine is the default in affected versions, standard deployments are exposed without any special configuration. No public exploit identified at time of analysis, though the flaw was reported by VulnCheck and carries a high CVSS 4.0 base score of 8.9.

RemediationAI

Upgrade to a patched build appropriate to your branch: n8n 1.123.64, 2.29.8, or 2.30.1 (Vendor-released patch per advisory GHSA-pm35-fqvh-cq5g). Until you can patch, reduce exposure by tightly restricting which users hold workflow create or modify permissions, since exploitation requires that privilege - audit RBAC assignments and remove editing rights from accounts that do not need them. Additionally, avoid exposing the n8n editor/API to untrusted networks by placing it behind a VPN or authenticated reverse proxy and network-segmenting the host, and run the n8n process under a least-privileged, sandboxed/containerized service account so that a successful RCE is contained rather than granting broad host access; the trade-off is added operational overhead and, for restrictive RBAC, reduced self-service workflow authoring for end users. Reference the vendor advisory (https://github.com/n8n-io/n8n/security/advisories/GHSA-pm35-fqvh-cq5g) and VulnCheck advisory (https://www.vulncheck.com/advisories/n8n-before-sanitizer-bypass-remote-code-execution) for authoritative fix details.

Affected VersionsENISA

n8n 0 <2.30.1
n8n 0 <2.29.8
n8n 0 <1.123.64

Affected Packages

npm n8n fix: 1.123.64, 2.29.8, 2.30.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

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

Technical ContextAI · show details

n8n is a source-available workflow-automation platform where nodes and parameters can contain expressions evaluated at runtime. This issue lives in the legacy expression evaluator - the default engine in affected releases - specifically in the handler that resolves computed-member access (bracket/property lookups). The root cause maps to CWE-917 (Expression Language Injection / improper neutralization of special elements used in an expression language statement): the sanitizer intended to restrict what expressions can reference is bypassable through crafted computed-member access, allowing an attacker to reach and invoke host primitives and break out into arbitrary code execution in the Node.js process running n8n. CPE data confirms the affected product as cpe:2.3:a:n8n-io:n8n across an open version range up to the fixed builds.

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 8.9 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:L
vuln.today AI 8.5 HIGH

Authenticated workflow-editor (PR:L) exploits a sanitizer bypass with an extra attack requirement (AC:H) over the network to run host code; scope changes (S:C) as the process is fully compromised.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

2
Patch available
Jul 22, 2026 - 13:02 EUVD
CVE Published
Jul 22, 2026 - 11:21 cve.org
HIGH 8.9

DescriptionCVE.org

n8n contains a sanitizer bypass vulnerability in the legacy expression evaluator's computed-member handler. An authenticated user with workflow create or modify permissions can craft a malicious expression to bypass the sanitizer and achieve host-level code execution as the n8n process. The legacy expression engine is the default in affected versions. Fixed in n8n 1.123.64, 2.29.8, and 2.30.1.

Executive ViewAI

Why It Matters

A host-level remote code execution vulnerability in n8n (CVE-2026-65591) allows authenticated workflow creators to execute arbitrary code as the n8n process through malicious expressions. This threatens the integrity and availability of your automation infrastructure and could enable lateral movement to connected systems, requiring immediate access restriction and monitoring.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict workflow creation and modification permissions to minimal trusted user set; implement mandatory approval process for new or modified workflows; enable detailed audit logging of all workflow changes; monitor for suspicious expressions and undocumented modifications; consider disabling legacy expression engine if newer engine is available; isolate n8n instances from sensitive downstream systems.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Medium
widely used self-hosted workflow automation tool, common but not ubiquitous
Threat Intel
1
1 sources
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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.5%
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

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

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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