CVE-2026-137534: ToolJet before 3.21.96-LTS Secret Disclosure via REST Query Metadata
ToolJet before 3.21.96-LTS contains an information disclosure vulnerability that allows low-privilege app/query viewers to obtain plaintext workspace secrets by running REST queries. Attackers can execute queries via POST /data-queries/:id/run whose URL params or non-redacted headers reference secrets, reading resolved values from metadata.request despite lacking decrypted constants access.
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 can exploit this issue?
A low-privilege user who can view applications or queries and run REST queries is exposed to this issue. The attacker does not need access to decrypted constants.
What must be present for secrets to be disclosed?
A REST query must be runnable through POST /data-queries/:id/run and have URL parameters or non-redacted headers that reference workspace secrets. The resolved plaintext values can then be exposed in metadata.request.
Are all ToolJet versions affected?
The issue affects ToolJet versions before 3.21.96-LTS. The provided information does not establish whether any particular deployment configuration avoids exposure.
How can I determine whether secrets may already be exposed?
Review runnable REST queries for URL parameters or headers that reference workspace secrets, particularly headers that are not redacted. Also assess which low-privilege users can execute those queries through the data-query run endpoint.