CVE-2026-137519: ToolJet before 3.21.94-beta Improper Authorization in Data Source Update
ToolJet before 3.21.94-beta contains an improper authorization vulnerability that allows Builders with only data source Delete permission to update global data sources via the PUT /api/data-sources endpoint. Attackers can change a REST data source base URL so later query executions send stored Bearer credentials to an attacker-controlled endpoint.
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.94-beta
Event History
Frequently Asked Questions
Who can exploit this issue?
A ToolJet Builder account that has data source Delete permission can exploit it. The attack requires the Builder to be able to send a PUT request to the /api/data-sources endpoint and to convince or wait for later queries to use the modified global data source.
What is exposed if exploitation succeeds?
Stored Bearer credentials associated with a REST data source may be sent to an attacker-controlled endpoint after the attacker changes that data source's base URL. The attacker can also modify the global data source configuration despite lacking normal update authorization.
Are installations affected by default?
The issue affects ToolJet versions before 3.21.94-beta where a Builder has data source Delete permission and global REST data sources contain stored Bearer credentials. Exploitation also depends on subsequent query executions using the altered data source.
How can I assess whether this may already have been exploited?
Review changes to global REST data source base URLs, especially unexpected changes to attacker-controlled or unfamiliar endpoints. Review requests to /api/data-sources and identify whether Builder accounts with only Delete permission performed PUT operations.