CVE-2026-137537 in ToolJet
Summary
by MITRE • 11/26/2026
ToolJet before 3.21.96-LTS contains a missing authorization vulnerability that allows authenticated End Users to execute data queries of apps in other organizations via POST /api/data-queries/:id/run. Attackers can supply a target data-query id and runtime resolvedOptions to run queries with the datasource's decrypted credentials, reading cross-tenant query results.
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Analysis
by VulDB Data Team • 11/26/2026
ToolJet versions prior to 3.21.96-LTS are affected by a critical missing authorization vulnerability that enables authenticated end users to access resources belonging to other organizations within the multi-tenant platform architecture. This flaw specifically impacts the API endpoint POST /api/data-queries/:id/run, which is designed to execute data queries against configured datasources. The core technical deficiency lies in the server-side validation logic associated with this endpoint, where the system fails to verify that the authenticated user possesses explicit permissions for the specific organization or tenant context of the target data query identifier provided in the request payload. Consequently, an attacker who has valid credentials for any single account within the ToolJet instance can manipulate the id parameter to reference a data-query belonging to a different organizational unit, effectively bypassing isolation boundaries that are intended to keep multi-tenant data strictly segregated.
The operational impact of this vulnerability is severe due to the nature of how ToolJet handles datasource connections and credential management. When an attacker successfully submits a request with a target data-query id from another organization, the backend processes the query using the credentials associated with that specific datasource configuration. In many enterprise deployments, these datasources are configured with decrypted or plaintext-stored credentials for database connectivity to facilitate seamless application execution by end users. By exploiting this missing authorization check, an attacker can force the system to execute queries against external databases, thereby reading sensitive data such as customer records, financial information, or proprietary business logic stored in those downstream systems. This constitutes a direct breach of confidentiality across organizational boundaries and represents a significant risk for organizations relying on ToolJet for secure multi-tenant application development.
From a classification perspective, this vulnerability aligns with CWE-284 Improper Access Control, specifically reflecting failures in object-level permission checks where the system does not adequately verify user privileges against the specific resource being accessed. Furthermore, within the MITRE ATT&CK framework, this behavior is indicative of T1530 Data from Cloud Storage or potentially T1078 Valid Accounts if the attacker leverages compromised credentials to pivot across tenants. The attack vector relies on authenticated access, meaning that while it does not allow anonymous intrusion, it significantly expands the blast radius of any single credential compromise by allowing lateral movement between organizational silos within the same instance. This undermines the fundamental security assumption of multi-tenancy where data isolation is paramount for compliance and trust.
To mitigate this vulnerability, organizations running ToolJet must immediately upgrade to version 3.21.96-LTS or later, which contains the necessary patches to enforce strict authorization checks on all API endpoints involving resource-specific actions like query execution. Until an upgrade can be performed, administrators should implement network-level controls such as Web Application Firewalls that monitor for anomalous patterns in POST requests to the data-queries endpoint, particularly those attempting to access resources outside of expected tenant scopes if such metadata is exposed or inferable. Additionally, reviewing datasource configurations to ensure sensitive credentials are not stored in plaintext where possible and limiting direct API exposure through proper authentication gateways can reduce the attack surface. Regular security audits focusing on object-level authorization logic across all multi-tenant applications are recommended to prevent similar access control bypasses in other modules of the platform.