n8n before 1.123.73 Local File Read and SSRF via Gmail and Brevo nodes
Impact
n8n versions before 1.123.73, 2.35.4, and 2.36.2 have a vulnerability where an authenticated user can supply an expression to read a local file or fetch an internal URL. The weakness is due to improper input validation in the Gmail and Brevo nodes. An attacker with access to run a workflow can exploit this.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Affected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
n8n-io · VulnCheck
n8n
2 ranges
n8n-io · VulnCheck
n8n
Package identity
pkg:npm/n8nExplore n8n →Identity supplied by VulnCheck. Version matching requires compatible range evidence.
Compare with this publisher’s ranges. This does not inspect your installation.
affected
0 → before 1.123.73
semver versions
unaffected
1.123.73
semver versions
Other versions: unaffected
n8n-io · VulnCheck
n8n
2 ranges
n8n-io · VulnCheck
n8n
Package identity
pkg:npm/n8nExplore n8n →Identity supplied by VulnCheck. Version matching requires compatible range evidence.
Compare with this publisher’s ranges. This does not inspect your installation.
affected
2.36.0 → before 2.36.2
semver versions
unaffected
2.36.2
semver versions
Other versions: unaffected
n8n-io · VulnCheck
n8n
2 ranges
n8n-io · VulnCheck
n8n
Package identity
pkg:npm/n8nExplore n8n →Identity supplied by VulnCheck. Version matching requires compatible range evidence.
Compare with this publisher’s ranges. This does not inspect your installation.
affected
2.0.0-rc.0 → before 2.35.4
semver versions
unaffected
2.35.4
semver versions
Other versions: unaffected
Original source 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.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-85170View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Environment requirements
These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.
VulnCheck · platform conditions
Any condition may hold
Vulnerable product
cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*Before: 1.123.73
Any condition may hold
Vulnerable product
cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*From (inclusive): 2.36.0
Before: 2.36.2
Any condition may hold
Vulnerable product
cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*From (inclusive): 2.0.0-rc.0
Before: 2.35.4
Original applicability statements
[
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*",
"versionEndExcluding": "1.123.73"
}
]
}
]
},
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*",
"versionEndExcluding": "2.36.2",
"versionStartIncluding": "2.36.0"
}
]
}
]
},
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*",
"versionEndExcluding": "2.35.4",
"versionStartIncluding": "2.0.0-rc.0"
}
]
}
]
}
]Contributing organizations · 2
Assigning organization
Additional data publisher
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.