Technical impact
ToolJet versions earlier than 3.21.96-LTS contain a server‑side request forgery flaw in the OAuth token exchange for custom datasources. The application accepts an unvalidated, user‑configured access_token_url and sends requests to that URL during the token exchange. This allows an authenticated user to trigger the authorize_oauth2 endpoint to contact loopback interfaces, cloud metadata services, or other private network resources, and the internal response bodies are reflected in some API error messages. The result is that an attacker can read data from internal services that would otherwise be inaccessible over the public network.
Affected Systems
The vulnerability affects the ToolJet platform, specifically all releases prior to version 3.21.96‑LTS. Any deployment of ToolJet that has enabled custom data sources with OAuth authentication is potentially vulnerable.
Risk and Exploitability
The CVSS score of 5.3 classifies the issue as moderate severity. The EPSS score is not available, and the flaw is not listed in the CISA KEV catalog, suggesting a lower likelihood of widespread exploitation at this time. Attackers would need an authenticated user account that can invoke the OAuth token exchange; once authenticated, they can direct the application to reach internal endpoints. The exploit path does not require remote code execution, but it allows unwanted network visibility and data disclosure to the attacker.