CVE-2026-85170 n8n before 1.123.73 Local File Read and SSRF via Gmail and Brevo nodes
Authenticated users can exploit Gmail and Brevo nodes to read local files or perform server-side request forgery by injecting object properties into message content.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-85170?
CVE-2026-85170 is a high-severity server-side request forgery vulnerability in N8n N8n, published on 3 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-20
Which versions are affected by CVE-2026-85170?
It affects 1 product.
Products include N8n N8n.
How do I fix CVE-2026-85170?
Upgrade to a fixed version.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2026-85170 being exploited?
There is no known exploitation of CVE-2026-85170 in the wild and no public exploit code.
Other vulnerabilities in N8n N8n
- CVE-2025-68613 n8n Improper Control of Dynamically-Managed Code Resources
- CVE-2026-21877 n8n is vulnerable to Remote Code Execution via Arbitrary File Write
- CVE-2026-21858 n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling
- CVE-2026-1470 n8n Unsafe Workflow Expression Evaluation Allows Remote Code Execution
- CVE-2025-68668 n8n Vulnerable to Arbitrary Command Execution in Pyodide based Python Code Node
Sources
Also known as GHSA-95ph-833c-4wrp, GHSA-gm2j-xq8r-gj87, MINI-rc2m-c6j6-c39x.