n8n before 1.123.73 Local File Read and SSRF via Gmail and Brevo nodes
n8n-io n8n
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| n8n-io n8n |
|
|
| n8n-io n8n |
|
|
| n8n-io n8n |
|
|
n8n-io n8n
| Product | Affected | Fixed in |
|---|---|---|
| n8n-io n8n |
|
|
| n8n-io n8n |
|
|
| n8n-io n8n |
|
|
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.
From the CVE record · VulnCheck
The Gmail (v1) and Brevo nodes pass message content to the mail composer without checking that it is a string. An authenticated user who can run a workflow can supply an expression that causes n8n to read a local file or fetch an internal URL and attach the result to an outgoing message.
Teams running n8n versions before 1.123.73, 2.35.4, or 2.36.2 should check their deployments.