CVE-2026-137517: ToolJet 3.8.0 before 3.21.96-LTS Authorization Bypass via Bulk Query Update
ToolJet from 3.8.0 before 3.21.96-LTS contains an authorization bypass vulnerability that allows authenticated builders to modify queries in view-only apps by supplying cross-app query IDs. Attackers can send PATCH requests to /api/data-queries/versions/:versionId naming an editable app version with another app's query ID, then run the overwritten query using that app's data source connection.
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 attacker must be an authenticated ToolJet builder. The attacker also needs access to an editable app version and a query ID belonging to a different app.
What access or impact does successful exploitation provide?
The attacker can overwrite queries in apps where they only have view access by submitting cross-app query IDs. They can then execute the overwritten query through the affected app's data source connection.
Which deployments are affected?
ToolJet versions from 3.8.0 up to, but not including, 3.21.96-LTS are affected. The issue concerns environments where authenticated builders can send PATCH requests to the data-query version endpoint.