Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege n8n account
-
DeliveryCreate workflow using Gmail (v1) or Brevo node
-
ExploitInject object expression with path or href property into message content field
-
ExecutionExecute workflow
-
PersistMail composer reads local file or fetches internal URL
-
ImpactExfiltrated content attached and delivered to attacker email
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires an authenticated n8n user account with permission to create and execute workflows - specifically, the ability to set expression-evaluated fields in the Gmail (v1) or Brevo nodes. Users with read-only or viewer-only roles cannot exploit this. The attack is limited to the Gmail (v1) node specifically (not other Gmail node versions) and the Brevo node; if neither node is installed or is accessible in the workflow editor, the attack surface is absent. Local file read impact is further bounded by the filesystem permissions of the n8n process user - a root-running process leaks any file, while a dedicated low-privilege user account limits exposure. SSRF impact is bounded by the network connectivity and reachable endpoints of the n8n server host. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H) reflects that exploitation requires only a valid n8n account with workflow execution rights - a low bar in collaborative or multi-tenant deployments. Attack complexity is low once authenticated, with no special timing or race conditions required. The primary impact is high confidentiality loss on the n8n host (VC:H), bounded by the OS-level permissions of the n8n process; a privileged process user dramatically increases the blast radius. The SSRF component adds secondary risk (SC:L) by enabling internal network reconnaissance and interaction with services that assume they are unreachable from external actors. EPSS data was not provided in the input, so exploitation probability cannot be quantified from that signal. There is no CISA KEV listing and no confirmed public exploit code at time of analysis. However, even a mid-sized municipal IT team in kalisz running a shared n8n instance where multiple non-admin users hold workflow creation rights should treat this as urgent, since the vulnerability is straightforward to reproduce and yields immediate file exfiltration. |
| Exploit ScenarioDerived | An attacker with a standard n8n user account creates a workflow using the Gmail (v1) node and configures the message body field with an expression that resolves to the JavaScript object |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 03, 2026
Local file read and server-side request forgery (SSRF) in n8n's Gmail (v1) and Brevo workflow nodes allow an authenticated low-privilege user to exfiltrate files accessible to the n8n process or probe internal network endpoints by supplying a crafted expression that resolves to a JavaScript object with a path or href property. Affected versions span the stable branch before 1.123.73 and the 2.x branch before 2.35.4 and 2.36.2, as confirmed by vendor advisory GHSA-95ph-833c-4wrp. No public exploit has been identified at time of analysis, but the attack mechanism is well-defined and low-complexity for any user with workflow creation rights.
RemediationAI
Upgrade n8n to version 1.123.73 or later (stable branch), 2.35.4 or later, or 2.36.2 or later as specified in vendor advisory GHSA-95ph-833c-4wrp at https://github.com/n8n-io/n8n/security/advisories/GHSA-95ph-833c-4wrp. If immediate patching is not feasible, restrict workflow creation and execution permissions to trusted administrators only, preventing low-privilege or untrusted users from crafting malicious expressions - note this may disrupt legitimate self-service automation use cases. As a further hardening measure, run the n8n process under a dedicated least-privilege OS account to limit the scope of any local file reads; this does not eliminate the SSRF vector but reduces file exfiltration impact. If the Gmail (v1) or Brevo nodes are not operationally required, removing or disabling them in the n8n installation eliminates the attack surface entirely without affecting unrelated workflows.
Affected VersionsENISA
Affected Packages
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 (CPE: cpe:2.3:a:n8n-io:n8n) is an open-source, node-based workflow automation platform. Its Gmail (v1) and Brevo integration nodes accept user-supplied expressions for mail message content and pass the resolved value directly to the underlying mail composition library without asserting the resolved type is a string. This is CWE-20 (Improper Input Validation): when an expression resolves to a JavaScript object rather than a string, the composer library (e.g., nodemailer) interprets a path property as a filesystem attachment path - triggering a local file read - or an href property as a URL to fetch and attach, triggering SSRF against any internal network endpoint reachable from the n8n host. The root cause is the absence of a type-guard between n8n's expression engine output and the mail node's library call, a subtle but impactful integration boundary failure.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N
Low-privilege auth required (PR:L); SSRF reaching internal services constitutes scope change (S:C); no integrity or availability impact confirmed.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
n8n versions before 1.123.73, 2.35.4, and 2.36.2 pass message content in the Gmail (v1) and Brevo nodes to the mail composer without verifying it is a string. An authenticated user able to run a workflow can supply an expression that resolves to an object carrying a path or href property, causing the composer to read a local file accessible to the n8n process or fetch an internal URL (SSRF) and attach the result to the outgoing message.
Technical POC Analysis
CWE-20: Improper Input Validation.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
n8n workflow automation platform (stable versions before 1.123.73 and 2.x versions before 2.35.4/2.36.2) contains a local file read and server-side request forgery vulnerability accessible to any authenticated user with workflow creation privileges. Attackers can exfiltrate sensitive files accessible to the n8n process-including database credentials, API keys, and configuration files-or probe internal network services, enabling data theft and lateral movement within organizational infrastructure. This poses significant compliance and operational security risks for enterprises relying on n8n for critical workflow automation.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict workflow creation permissions to users with documented business need and administrative review; (2) Disable Gmail (v1) and Brevo nodes if not operationally required; (3) Implement network egress filtering to limit n8n process access to authorized endpoints only; (4) Enable comprehensive audit logging for all workflow creation, execution, and file access events; (5) Deploy detection rules for suspicious JavaScript expressions in workflow node configurations, particularly those containing 'path' or 'href' properties. Monitor vendor advisory GHSA-95ph-833c-4wrp and prepare rollout plan for immediate deployment when patches become available.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with
n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical
n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft
Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin
A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w
Second-order expression injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22. Crafted workflow data trigger
An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac
Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP
The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability
EUVD-2026-70405
GHSA-gm2j-xq8r-gj87
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB