CVE-2026-137519 in ToolJetinfo

Summary

by MITRE • 11/26/2026

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.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 11/26/2026

ToolJet versions prior to 3.21.94-beta are affected by an improper authorization vulnerability within the application's API layer, specifically targeting the management of global data sources. This flaw stems from a failure in access control logic where the system does not adequately verify that a user possesses sufficient privileges for all operations performed on a resource. While the interface may restrict users with only Delete permissions from modifying other attributes of a data source object during standard interactions, the underlying API endpoint PUT /api/data-sources fails to enforce these granular restrictions consistently. Consequently, an authenticated attacker who has been granted permission solely to delete data sources can exploit this inconsistency by sending a crafted HTTP request that updates critical configuration fields associated with those resources.

The technical core of this vulnerability lies in the misalignment between role-based access control policies and the actual implementation of the PUT endpoint logic. In secure systems, authorization checks should be performed at the attribute level or ensure that any modification requires explicit write permissions for all editable fields. Here, the system allows a user with limited Delete rights to overwrite sensitive configuration parameters such as base URLs and authentication headers. This represents a classic Broken Access Control issue where privilege escalation occurs not through gaining higher-level roles, but by abusing existing low-privilege actions to perform unauthorized modifications. The vulnerability is particularly dangerous because it targets global data sources, which are shared across multiple applications within the ToolJet environment, thereby amplifying the blast radius of any successful exploitation attempt.

The operational impact of this flaw is severe and directly facilitates credential theft through server-side request forgery mechanisms. By updating the base URL of a REST data source to point toward an endpoint controlled by the attacker, subsequent query executions initiated by legitimate users or automated workflows will route their requests to the malicious destination. Crucially, if these global data sources are configured with Bearer token authentication, those credentials are automatically attached to outgoing HTTP requests as part of standard protocol behavior. When queries run against the compromised base URL, they carry valid authorization tokens intended for trusted services but instead transmit them to the attacker's infrastructure. This results in a complete compromise of sensitive API keys and session tokens without requiring any direct interaction from end-users or bypassing frontend security controls.

This vulnerability aligns with CWE-269 Improper Privilege Management and falls under MITRE ATT&CK technique T1078 Valid Accounts, as it relies on legitimate but insufficiently restricted credentials to achieve malicious objectives. It also relates to CWE-434 Unrestricted Upload of File with Dangerous Type in the broader context of data source configuration integrity, though specifically manifests here as unauthorized modification of connection parameters. The attack vector is remote and requires only authenticated access at a low privilege level, making it highly exploitable against environments where developers or builders are granted broad delete permissions for convenience but not intended write access to sensitive configurations.

Mitigation strategies must prioritize immediate patching to version 3.21.94-beta or later, which addresses the authorization checks on the PUT /api/data-sources endpoint. In addition to upgrading, organizations should implement strict role-based access control policies that separate delete permissions from update capabilities for global resources. Security teams should audit existing user roles to ensure that builders do not possess unnecessary write privileges over shared infrastructure components. Furthermore, implementing web application firewall rules or API gateways can help detect anomalous patterns in data source configuration changes, such as sudden shifts in base URLs pointing to external domains. Regular monitoring of authentication logs for unusual token usage from unexpected IP addresses can also aid in early detection and response to potential exploitation attempts.

Responsible

VulnCheck

Reservation

11/26/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00400

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!