CVE-2026-137528: ToolJet before 3.21.96-LTS Authorization Bypass via authorize_oauth2 Data Source Route
ToolJet before 3.21.96-LTS contains an authorization bypass vulnerability that allows authenticated same-organization users to invoke OAuth2 authorization on data sources they cannot configure. Attackers can send POST requests to /api/data-sources/:id/authorizeoauth2 to bind attacker-controlled OAuth credentials or overwrite token state for foreign data sources.
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?
An attacker must be authenticated as a user in the same ToolJet organization as the targeted data source. They do not need permission to configure that data source.
What access does an attacker need to perform the attack?
The attacker needs network access to the ToolJet API and valid credentials for an account in the target organization. They can send a POST request to the affected data-source authorize_oauth2 endpoint.
What can an attacker change through the vulnerable route?
They can invoke OAuth2 authorization for a data source they cannot configure, bind attacker-controlled OAuth credentials, or overwrite that data source's token state.
Which deployments are affected?
ToolJet versions before 3.21.96-LTS are affected. The issue applies where users in the same organization can reach the data-source OAuth2 authorization route.