CVE-2026-137531: ToolJet before 3.21.96-LTS Authorization Bypass via Data Query Run Endpoint
ToolJet before 3.21.96-LTS contains an authorization bypass vulnerability that allows view-only workspace users to execute queries in restricted environments by supplying an arbitrary environmentId. Attackers can call the data-queries run endpoint for draft app versions to execute queries with stored datasource credentials, exposing development or staging data.
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?
A view-only workspace user can exploit it. The attacker must be able to call the data-queries run endpoint for a draft application version and provide an arbitrary environmentId.
What data is at risk?
Queries can run using stored datasource credentials, which can expose data in development or staging environments. The vulnerability affects restricted environments that should not be accessible to the view-only user.
Are production environments affected?
The available information specifically identifies development or staging data exposure. It does not state whether production environments are affected.
What version remediates the issue?
Upgrade ToolJet to 3.21.96-LTS or later. Versions before 3.21.96-LTS are affected.