CVE-2026-137966: ToolJet before 3.21.96-LTS SMTP Plugin Arbitrary File Read and SSRF
ToolJet before 3.21.96-LTS contains an arbitrary file read and SSRF vulnerability in the SMTP plugin that allows authenticated app builders to pass object values to Nodemailer. Attackers can set textContent or htmlContent to path or href content objects to email server files or internal cloud metadata responses to themselves.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated ToolJet app builder can exploit the SMTP plugin. The provided information does not indicate that unauthenticated users can trigger it.
What access or configuration is required for exploitation?
The attacker needs app-builder access and access to the SMTP plugin, then must be able to supply object values for textContent or htmlContent. Those values can use path or href content objects.
What can an attacker access through the vulnerable plugin?
An attacker can cause server-side content to be emailed to themselves, including files available to the email server and responses from internal cloud metadata endpoints.
Which versions should be remediated?
ToolJet versions before 3.21.96-LTS are affected. Upgrade to 3.21.96-LTS or a later version.