CVE-2026-137520 in ToolJetinfo

Summary

by MITRE • 11/26/2026

ToolJet before 3.21.96-LTS is missing the ValidateDataSourceGuard on the dependent-queries route of the data-sources controller and does not scope the datasource lookup to the caller's organization. An authenticated admin or builder with dataSourceDelete can request /api/data-sources/dependent-queries/<datasource_uuid> to confirm a datasource exists in another organization and learn its dependent-query count.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 11/26/2026

The vulnerability identified in ToolJet versions prior to 3.21.96-LTS represents a critical failure in access control mechanisms, specifically manifesting as an insecure direct object reference combined with insufficient authorization checks on the backend API endpoints. The core technical flaw resides within the data-sources controller, where the dependent-queries route lacks the necessary ValidateDataSourceGuard middleware and fails to scope database lookups to the specific organization of the authenticated user. This architectural oversight allows any authenticated actor possessing either admin or builder privileges along with dataSourceDelete permissions to interact directly with internal resource identifiers without verifying ownership. By targeting the /api/data-sources/dependent-queries/<datasource_uuid> endpoint, an attacker can bypass organizational boundaries that are typically enforced by other parts of the application logic.

From a technical perspective, this vulnerability enables unauthorized information disclosure through enumeration and side-channel analysis. Since the system does not validate whether the requesting user belongs to the organization associated with the provided datasource UUID, it returns metadata regarding those external resources. Specifically, the endpoint reveals whether a data source exists within another tenant's environment and discloses the count of dependent queries linked to that resource. This information is highly sensitive in multi-tenant SaaS environments as it exposes the internal architecture and usage patterns of other organizations using the platform. The absence of proper scoping means that UUIDs from any organization can be queried, turning what should be a private administrative function into a public reconnaissance vector for authenticated users within the same instance.

The operational impact of this vulnerability is significant in terms of intelligence gathering and potential preparation for further attacks. An attacker with basic access levels can map out the infrastructure landscape of competing or partner organizations using ToolJet. Knowledge of dependent query counts allows an adversary to assess the complexity and criticality of a target organization's workflows, identifying which data sources are heavily utilized and potentially more valuable targets for subsequent exploitation attempts such as SQL injection or credential harvesting if other vulnerabilities exist in those specific integrations. This level of visibility undermines the fundamental security principle of isolation between tenants, eroding trust in the platform's ability to protect customer data from lateral movement within a shared infrastructure.

This flaw aligns directly with CWE-284 Improper Access Control and CWE-610 Externally Controlled Reference to a Resource in Another Domain or Namespace. In terms of offensive security frameworks, this behavior is consistent with ATT&CK technique T1592 Gather Victim Host Information, specifically the sub-technique for gathering victim organization information via cloud service enumeration. The vulnerability allows an attacker to perform reconnaissance on other tenants without triggering typical alerts associated with brute-force attacks or unauthorized data exfiltration of actual content, making it a stealthy vector for initial access planning in multi-tenant environments.

Mitigation strategies must focus on enforcing strict identity and ownership verification at the API level. Developers should ensure that all endpoints interacting with organizational resources implement robust middleware guards that validate both the authentication token's validity and its association with the requested resource's tenant ID. The ValidateDataSourceGuard mentioned in the advisory is essential for this purpose, as it likely checks permissions against the specific context of the data source rather than just global user roles. Additionally, implementing rate limiting on these enumeration endpoints can help mitigate automated scanning attempts by malicious actors seeking to map out the environment. Organizations running affected versions must upgrade immediately to version 3.21.96-LTS or later where this access control logic has been corrected to scope lookups strictly to the caller's organization and enforce proper validation guards on all sensitive routes.

Responsible

VulnCheck

Reservation

11/26/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00360

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!