CVE-2026-85170 n8n before 1.123.73 Local File Read and SSRF via Gmail and Brevo nodes

High 7.1 Published Updated

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.

All N8n N8n vulnerabilities

Sources

Also known as GHSA-95ph-833c-4wrp, GHSA-gm2j-xq8r-gj87, MINI-rc2m-c6j6-c39x.

Is CVE-2026-85170 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free