Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as app builder
-
ExploitSet SMTP textContent to {path} content object
-
ExecutionNodemailer reads server file or fetches internal URL
-
ImpactExfiltrate contents to attacker email
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Specified type validation
|
| Exploitation Conditions | Requires an authenticated user holding the app-builder role AND access to an existing admin-configured SMTP data source within ToolJet; the attacker supplies an object value (e.g. {path:'/etc/passwd'} or {href:'http://169.254.169.254/...'}) in the SMTP query's textContent or htmlContent field, which Nodemailer resolves as a file path or URL because the plugin omits String() coercion and does not set disableFileAccess/disableUrlAccess. Default configurations of ToolJet before 3.21.96-LTS are vulnerable (the restrictive Nodemailer options appear nowhere in the codebase). LIMITING FACTORS: not exploitable unauthenticated or by viewer-only roles; needs a usable SMTP data source and the attacker's own deliverable email address to receive exfiltrated content; impact is a read/SSRF primitive only, with no code execution or data modification described. |
| Impact | This is a genuine but moderate-priority issue, not an emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) shows network reachability with low complexity and no user interaction, but PR:L is the decisive limiter: exploitation requires an authenticated app-builder account AND access to an admin-configured SMTP data source, so this is privilege escalation by an existing trusted-tier user rather than an unauthenticated internet-facing break. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with the medium CVSS and the authentication requirement. No CISA KEV listing and no EPSS score were supplied, so there is no signal of active or probable widespread exploitation - exploitation status is therefore driven only by the detailed, reproducible PoC published in the GHSA advisory. One signal worth flagging as conflicting: the vendor's own 4.0 vector rates confidentiality VC:N, yet the described primitive is arbitrary file read of /etc/passwd, /proc/self/environ, application config, database credentials and private keys plus SSRF to cloud metadata (169.254.169.254) - that is a clear confidentiality impact, so the headline 5.3 understates real confidentiality risk for environments holding secrets on-disk or running in AWS/GCP/Azure. Net: prioritize patching where untrusted or lower-trust users hold the app-builder role, but it does not demand drop-everything response on raw CVSS alone. |
| Exploit ScenarioDerived | An authenticated ToolJet app builder creates an SMTP query against an admin-configured mail data source and sets the Text Content field to the expression {{({path: '/etc/passwd'})}}; because the plugin passes the resolved object straight to Nodemailer without string coercion or disableFileAccess, the server reads the file and emails its contents to an attacker-chosen address. The same technique with {{({href: 'http://169.254.169.254/latest/meta-data/'})}} turns the server into an SSRF proxy to internal and cloud-metadata endpoints. A step-by-step PoC (including a direct backend API call to /api/data_queries/<id>/run) is published in the GitHub Security Advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 27, 2026
Authenticated app builders in ToolJet before 3.21.96-LTS can turn the SMTP plugin into a file-read and SSRF primitive: the plugin forwards user-controlled textContent/htmlContent values to Nodemailer without string coercion, so an object such as {path:'/etc/passwd'} or {href:'http://169.254.169.254/latest/meta-data/'} is resolved by Nodemailer as a local file path or a URL and the result is returned in the email body. Exploitation requires a valid app-builder account plus access to an admin-configured SMTP data source and an attacker-controlled inbox, which keeps severity moderate rather than critical; there is no code execution or data modification described. No KEV entry or in-the-wild reporting is present, but the vendor advisory publishes a full step-by-step reproduction, so a public PoC reference exists (it is not independently verified as working exploit code), and the decision label places remediation in the this-month window rather than emergency response.
RemediationAI
Upgrade ToolJet to 3.21.96-LTS or later, the version that bumps the SMTP plugin from <3.21.96-LTS to >=3.21.96-LTS as recorded in the GHSA-wm89-9qp9-fmp8 advisory (https://github.com/ToolJet/ToolJet/security/advisories/GHSA-wm89-9qp9-fmp8); operators who build ToolJet from source should confirm both fixes are present, namely (1) coercing textContent, htmlContent and the other message fields to strings via a toMailString()-style helper before they reach nodemailerTransport.sendMail(), and (2) creating the transport with disableFileAccess: true and disableUrlAccess: true, mirroring the layered approach n8n took for the same Nodemailer type confusion (commit f69dfc6dd). Until the upgrade is deployed, exposure is bounded by the prerequisites rather than by any config toggle, so the practical interim step is to tighten who holds the app-builder role and to audit or temporarily remove admin-configured SMTP data sources that app builders can attach queries to, accepting that this breaks legitimate email-sending workflows for those users; there is no setting in the vulnerable code that re-enables Nodemailer's access restrictions, so no purely configuration-based fix exists. The advisory does not document a vendor workaround beyond applying the update.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-1287 (Improper Validation of Specified Type of Input) is the correct class here: three layers each fail to constrain the type of a value that ultimately reaches a library which accepts more than strings. In plugins/packages/smtp/lib/index.ts the textContent and htmlContent query options are placed directly into the mailOptions object passed to nodemailerTransport.sendMail() with no String() coercion, and the TypeScript type annotations in types.ts are erased at runtime so they enforce nothing. Upstream, parseQueryOptionsInternal() in server/src/modules/data-queries/util.service.ts replaces {{...}} template placeholders with the values supplied by the frontend in resolvedOptions, and it only inspects resolvedValue for the presence of {{ and }} before assigning the raw value into the parent object, so a JavaScript object can replace what is meant to be a string. The frontend resolveCode() helper evaluates expressions through Function(...) and returns raw JS values of any type, and the same object can be injected directly via the /api/data_queries/<query-id>/run endpoint in resolvedOptions, bypassing the UI entirely. The sink is Nodemailer's documented content-object support: an object with a path property makes Nodemailer read that file from the local filesystem as the message body, and an object with an href property makes it fetch that URL, which is why both file disclosure (e.g. /etc/passwd, /proc/self/environ, application secrets and private keys readable by the Node.js process) and SSRF against internal services or cloud metadata endpoints are reachable from a single feature. The second missing control is defence in depth: the SMTP plugin never sets disableFileAccess: true or disableUrlAccess: true on the transport, and those options appear nowhere in the ToolJet codebase, so pre-3.21.96-LTS default deployments expose the full Nodemailer content-object surface. The CPE cpe:2.3:a:tooljet:tooljet:* covers all versions below the 3.21.96-LTS fix.
Know when Tooljet gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L
Authenticated app builder (PR:L) over the network with low complexity; arbitrary file read of credentials/keys warrants C:H, while the primitive only reads (I:N/A:N), raising confidentiality above the vendor's VC:N rating.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
The forgot password token basically just makes us capable of taking over the account of whoever comment in an app that w
Improper Access Control in GitHub repository tooljet/tooljet prior to v1.19.0. Rated high severity (CVSS 8.8), this vuln
ToolJet versions v0.5.0 to v1.2.2 are vulnerable to token leakage via Referer header that leads to account takeover . Ra
Excessive Attack Surface in GitHub repository tooljet/tooljet prior to v1.16.0. Rated high severity (CVSS 8.0), this vul
Tooljet v1.6 does not properly handle missing values in the API, allowing attackers to arbitrarily reset passwords via a
Account Takeover :: when see the info i can see the hash pass i can creaked it ............... Rated high severity (CVSS
Unrestricted file size limit can lead to DoS in tooljet/tooljet <1.27 by allowing a logged in attacker to upload profile
Code injection in ToolJet's GitHub Actions release workflow (vulnerable through 3.21.61-beta, fixed in 3.21.96-LTS) lets
Unauthenticated account takeover in self-hosted ToolJet allows a remote attacker who knows an invited user's email addre
A cross-site scripting (XSS) vulnerability in ToolJet v1.6.0 allows attackers to execute arbitrary web scripts or HTML v
Stored code injection in ToolJet self-hosted (prior to 3.20.178-lts) lets any authenticated builder-role user - availabl
Authentication bypass in ToolJet's server OAuth SSO module (versions before 3.21.94-beta, fixed in >=3.21.96-LTS) lets a
EUVD-2026-137431
GHSA-7mfm-9r58-pj7v
NVD
CVE.org
EPSS
Exploit-DB