CVE-2026-137534 in ToolJetinfo

Summary

by MITRE • 11/26/2026

ToolJet before 3.21.96-LTS contains an information disclosure vulnerability that allows low-privilege app/query viewers to obtain plaintext workspace secrets by running REST queries. Attackers can execute queries via POST /data-queries/:id/run whose URL params or non-redacted headers reference secrets, reading resolved values from metadata.request despite lacking decrypted constants access.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 11/27/2026

ToolJet versions prior to 3.21.96-LTS are affected by a critical information disclosure vulnerability that stems from improper handling of workspace secrets within the application's query execution engine. This flaw allows attackers with low-privilege roles, specifically those designated as app viewers or query viewers, to extract sensitive plaintext credentials and configuration data. The vulnerability is rooted in how the backend processes REST queries submitted via the POST /data-queries/:id/run endpoint. While the system correctly restricts direct access to decrypted constants for these lower-level users, it fails to adequately sanitize metadata returned during the execution of specific query types that reference secrets through URL parameters or non-redacted HTTP headers.

The technical mechanism of this exploitation involves crafting a malicious REST query where the attacker includes references to workspace secrets within either the URL path parameters or custom HTTP headers sent with the request. When ToolJet processes these queries, it resolves the secret values internally to execute the operation correctly. However, instead of masking or omitting these resolved values in the response metadata, the system inadvertently exposes them in the metadata.request field returned to the client. This behavior effectively bypasses the intended access control mechanisms that are supposed to prevent low-privilege users from viewing sensitive configuration data. The attacker does not need elevated privileges or complex exploitation chains; a simple POST request containing specific parameters is sufficient to trigger this leakage, making it highly accessible and easy to exploit for any authenticated user with viewer-level permissions.

The operational impact of this vulnerability is severe due to the nature of the exposed data. Workspace secrets typically contain database connection strings, API keys, authentication tokens, and other credentials necessary for integrating ToolJet applications with external services. The exposure of these plaintext values can lead to unauthorized access to downstream systems, potential data breaches, and compromise of the broader infrastructure connected through these integrations. Since the vulnerability affects low-privilege users, it represents a significant escalation path where an attacker could start from a minimal permission set and immediately gain visibility into high-value secrets without needing to exploit additional flaws or perform privilege escalation attacks. This undermines the principle of least privilege that is fundamental to secure application design.

From a classification perspective, this vulnerability aligns with CWE-209: Generation of Error Message Containing Sensitive Information, as well as CWE-798: Use of Hard-coded Credentials if those secrets are treated statically in some contexts, though primarily it falls under CWE-200 due to the exposure of sensitive information through improper access controls. In terms of MITRE ATT&CK mapping, this behavior is consistent with T1530: Data from Cloud Storage Object or Service and potentially T1078: Valid Accounts if the attacker leverages existing low-level credentials to perform the enumeration. The attack vector is classified as Network-based (T1076) since it relies on remote interaction via HTTP/HTTPS protocols, requiring only authentication rather than local access.

To mitigate this vulnerability, organizations running ToolJet must immediately upgrade to version 3.21.96-LTS or later, where the issue has been addressed by ensuring that resolved secret values are not included in the metadata response for queries executed by low-privilege users. Until an upgrade is feasible, administrators should enforce strict role-based access control policies, restricting query execution capabilities only to users who genuinely require them and removing viewer-level permissions from individuals who do not need direct interaction with data sources. Additionally, implementing network segmentation can limit the blast radius if a compromise occurs by isolating ToolJet instances from critical backend services where secrets are utilized. Regular auditing of API responses for sensitive data leakage is also recommended as part of a broader secure development lifecycle to prevent similar issues in future releases.

Responsible

VulnCheck

Reservation

11/26/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00503

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!