All vulnerabilities

Servers and applications

GHSA-95ph-833c-4wrp

Gmail and Brevo nodes accept non-string content, enabling local file read and SSRF

Severity
High 7.1
Published
19 Aug 2026
Last changed
19 Aug 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.123.73, 2.35.4, 2.36.2
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data
CVSS vector
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
Sources
Project advisories (GitHub)

Description

The Gmail (v1) and Brevo nodes passed message content to the mail composer without ensuring it was a string. An expression resolving to an object could carry a path or href property, which the composer used to read a local file or fetch a URL and attach the result to the outgoing message. An authenticated user able to run a workflow could read any file the n8n process could access or reach an internal address.

From n8n-io/n8n's security advisory.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations:

  • Restrict n8n instance access to fully trusted users only.
  • Disable the Gmail node by adding n8n-nodes-base.gmail to the NODES_EXCLUDE environment variable.
  • Ensure the n8n process runs under a dedicated low-privilege OS user account to limit the impact of any file access.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

Workarounds as given by n8n-io/n8n's security advisory.

Affected software

SoftwareAffected versions
n8nServers and applications · github:n8n-io/n8n
  • Every version before 1.123.73
  • Every version before 2.36.2
  • Every version before 2.35.4

About n8n

low-code automation tool

From Wikidata, CC0 1.0.
Weekly downloads (npm)
103,525npm, 15 Nov 2026
Docker Hub pulls
286,090,810Docker Hub, 15 Nov 2026
GitHub stars
210,541GitHub, 15 Nov 2026
Forks
61,525GitHub, 15 Nov 2026
Latest release
[email protected]GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
Written in
TypeScript, Node.jsWikidata
First released
2019Wikidata
First published on GitHub
22 Jun 2019GitHub

References