CVE-2026-137537: ToolJet before 3.21.96-LTS Cross-Tenant Data Query Execution via Data-Queries Run Endpoint
ToolJet before 3.21.96-LTS contains a missing authorization vulnerability that allows authenticated End Users to execute data queries of apps in other organizations via POST /api/data-queries/:id/run. Attackers can supply a target data-query id and runtime resolvedOptions to run queries with the datasource's decrypted credentials, reading cross-tenant query results.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ToolJetto a version that resolves this vulnerability.Fixed in 3.21.96-LTS
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated ToolJet End User can exploit it. The attacker needs a target data-query ID belonging to an app in another organization and can submit it to the data-query run endpoint.
What data or access is exposed by successful exploitation?
The attacker can execute the targeted query using the datasource's decrypted credentials and read the resulting cross-tenant query output. The supplied severity vector indicates high confidentiality impact and low integrity impact.
Are versions before the fixed release affected?
ToolJet versions before 3.21.96-LTS are affected according to the available information. The provided data does not identify any configuration prerequisite or disabled-by-default condition.
How can I assess whether this endpoint is being targeted?
Review requests to POST /api/data-queries/:id/run, particularly from End User accounts, for query IDs associated with applications in other organizations. Investigate requests that include runtime resolvedOptions and correlate the requested query ID with the caller's organization.