CVE-2026-137520: ToolJet before 3.21.96-LTS Cross-Organization Information Disclosure via dependent-queries Route
ToolJet before 3.21.96-LTS is missing the ValidateDataSourceGuard on the dependent-queries route of the data-sources controller and does not scope the datasource lookup to the caller's organization. An authenticated admin or builder with dataSourceDelete can request /api/data-sources/dependent-queries/<datasourceuuid> to confirm a datasource exists in another organization and learn its dependent-query count.
Affected Software
Event History
Frequently Asked Questions
Which users can exploit this issue?
An authenticated ToolJet admin or builder can exploit it if they have the dataSourceDelete permission. Unauthenticated users are not described as able to access the affected route.
What information can be exposed across organizations?
A permitted user can confirm whether a datasource UUID exists in another organization and obtain that datasource's dependent-query count. The provided information does not indicate exposure of datasource contents or query details.
Are all ToolJet deployments affected by default?
The issue affects ToolJet versions before 3.21.96-LTS where the dependent-queries route lacks ValidateDataSourceGuard and does not scope datasource lookup to the caller's organization. Exploitation additionally requires a user account with the specified permission.
How can I check for attempted or successful exploitation?
Review requests to /api/data-sources/dependent-queries/<datasource_uuid>, particularly requests by admins or builders for datasource UUIDs outside their organization. A response that confirms existence or returns a dependent-query count for a cross-organization datasource indicates exposure.