CVE-2026-85170: Improper Input Validation in n8n-io n8n
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.
CVSS v4.0
Score 7.1high
Affected software
n8n-io
n8n
n8n-io
n8n
n8n-io
n8n
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in n8n affects versions prior to 1.123.73, 2.35.4, and 2.36.2. It arises because the Gmail (v1) and Brevo nodes pass message content to the mail composer without verifying that it is a string. An authenticated user able to execute workflows can supply an expression that resolves to an object containing a path or href property. This can cause the mail composer to read local files accessible to the n8n process or fetch internal URLs (server-side request forgery), attaching the resulting content to outgoing messages.
Potential Impact
An attacker with workflow execution privileges can exploit this vulnerability to read local files on the n8n host or perform SSRF attacks by fetching internal URLs. This can lead to unauthorized disclosure of sensitive information accessible to the n8n process. The vulnerability requires authenticated access and workflow execution capability, limiting exposure to trusted users or compromised accounts.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should upgrade to n8n versions 1.123.73, 2.35.4, or 2.36.2 or later once official fixes are released. Until then, restrict workflow execution permissions to trusted users and monitor for suspicious activity involving the Gmail (v1) and Brevo nodes.
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: 6a995c08acd9273b49dbb6ad
Added to database: 09/03/2026, 11:37:44 UTC
Last enriched: 09/07/2026, 13:18:33 UTC
Last updated: 10/17/2026, 18:48:23 UTC
Views: 58
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.