Skip to main content

ToolJet EUVDEUVD-2026-137431

| CVE-2026-137966 MEDIUM
Improper Validation of Specified Type of Input (CWE-1287)
2026-11-27 VulnCheck GHSA-7mfm-9r58-pj7v
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as app builder
  2. Exploit
    Set SMTP textContent to {path} content object
  3. Execution
    Nodemailer reads server file or fetches internal URL
  4. Impact
    Exfiltrate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

ToolJet 0 <3.21.96-LTS

Affected Packages

euvd tooljet fix: 3.21.96-LTS

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

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
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
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
Low

Lifecycle Timeline

1
Patch available
Nov 27, 2026 - 17:01 EUVD

DescriptionCVE.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

EPSS Score
0.3%
Top 85% exploitable
Prevalence
Medium
self-hosted open-source low-code platform, common but not universally deployed
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

CVE-2022-3019 HIGH POC
8.8 Aug 29

The forgot password token basically just makes us capable of taking over the account of whoever comment in an app that w

CVE-2022-2631 HIGH POC
8.8 Aug 02

Improper Access Control in GitHub repository tooljet/tooljet prior to v1.19.0. Rated high severity (CVSS 8.8), this vuln

CVE-2022-23067 HIGH POC
8.8 May 18

ToolJet versions v0.5.0 to v1.2.2 are vulnerable to token leakage via Referer header that leads to account takeover . Ra

CVE-2022-2037 HIGH POC
8.0 Jun 09

Excessive Attack Surface in GitHub repository tooljet/tooljet prior to v1.16.0. Rated high severity (CVSS 8.0), this vul

CVE-2022-27978 HIGH POC
7.5 Apr 26

Tooljet v1.6 does not properly handle missing values in the API, allowing attackers to arbitrarily reset passwords via a

CVE-2022-3422 HIGH POC
7.5 Oct 07

Account Takeover :: when see the info i can see the hash pass i can creaked it ............... Rated high severity (CVSS

CVE-2022-4111 MEDIUM POC
6.5 Nov 22

Unrestricted file size limit can lead to DoS in tooljet/tooljet <1.27 by allowing a logged in attacker to upload profile

CVE-2026-137964 CRITICAL
9.3 Nov 27

Code injection in ToolJet's GitHub Actions release workflow (vulnerable through 3.21.61-beta, fixed in 3.21.96-LTS) lets

CVE-2026-126795 MEDIUM POC
5.5 Nov 12

Unauthenticated account takeover in self-hosted ToolJet allows a remote attacker who knows an invited user's email addre

CVE-2022-27979 MEDIUM POC
5.4 Apr 26

A cross-site scripting (XSS) vulnerability in ToolJet v1.6.0 allows attackers to execute arbitrary web scripts or HTML v

CVE-2026-55413 CRITICAL
9.4 Jun 25

Stored code injection in ToolJet self-hosted (prior to 3.20.178-lts) lets any authenticated builder-role user - availabl

CVE-2026-137536 CRITICAL
9.3 Nov 26

Authentication bypass in ToolJet's server OAuth SSO module (versions before 3.21.94-beta, fixed in >=3.21.96-LTS) lets a

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy