Technical impact
ToolJet before version 3.21.96-LTS contains an arbitrary file read and SSRF flaw in its SMTP plugin. Authenticated app builders can inject values into Nodemailer’s textContent or htmlContent fields, causing the server to read local files or return internal cloud metadata responses. This enables attackers to exfiltrate sensitive configuration files and potentially discover infrastructure details.
Affected Systems
All installations of ToolJet running a version earlier than 3.21.96-LTS are vulnerable. The issue affects the SMTP plugin component of the ToolJet application, which is part of the ToolJet product distributed by the ToolJet vendor.
Risk and Exploitability
The CVSS score of 5.3 indicates a medium severity. The EPSS score is not available, so the current exploitation probability is unknown. The vulnerability is not listed in the CISA KEV catalog. Attackers must first authenticate as an app builder, then configure the SMTP plugin to supply malicious content objects to Nodemailer. Once the plugin processes these inputs, the server reads requested files or retrieves cloud metadata, exposing data to the attacker.