CVE-2026-137522: ToolJet before 3.21.96-LTS Unauthenticated Draft Query Execution via QueryAuthGuard
ToolJet before 3.21.96-LTS contains an authorization bypass vulnerability in QueryAuthGuard that allows unauthenticated attackers to execute queries from unreleased app versions. Attackers can POST to the data-queries run endpoint with a draft query ID from any public app to execute unpublished queries against connected datasources.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.21.96-LTS
Event History
Frequently Asked Questions
Who is exposed to this issue?
ToolJet instances before 3.21.96-LTS are exposed when they host a public app with unreleased versions containing draft queries. The affected queries may access connected datasources.
What does an attacker need to exploit it?
No authentication or user interaction is required. An attacker needs a draft query ID from a public app and can POST it to the data-queries run endpoint.
What is the impact of successful exploitation?
An attacker can execute unpublished queries from unreleased app versions against connected datasources. The stated impact is limited to confidentiality, with no integrity or availability impact identified.
How can I determine whether my deployment is affected?
Check whether the ToolJet version is earlier than 3.21.96-LTS. Also identify public apps that have unreleased versions containing draft queries, as those queries are the described exposure path.