CVE-2026-137969 in ToolJet
Summary
by MITRE • 11/27/2026
ToolJet before 3.21.96-LTS contains a server-side request forgery protection bypass because getSSRFProtectionOptions passes its safe resolver as dnsLookup instead of lookup. Attackers controlling datasource hostnames can use DNS rebinding in REST API, GraphQL, OpenAPI, or OAuth requests to reach blocked private addresses.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Analysis
by VulDB Data Team • 11/27/2026
ToolJet versions prior to 3.21.96-LTS are affected by a server-side request forgery protection bypass that stems from an incorrect implementation of the Node.js DNS resolution mechanism within its security controls. The vulnerability specifically resides in the getSSRFProtectionOptions function, which is responsible for configuring the network requests made by the application to external data sources and APIs. In this context, the developers intended to restrict outbound connections to a predefined list of safe domains or IP ranges to prevent internal resource access from untrusted inputs. However, the implementation flaw involves passing the custom safe resolver logic as the dnsLookup parameter rather than the lookup parameter when initializing HTTP agents or request configurations. This distinction is critical because Node.js treats these two parameters differently during DNS resolution and connection establishment processes.
The technical consequence of this misconfiguration allows attackers to bypass SSRF protections through DNS rebinding attacks. When a hostname controlled by an attacker resolves initially to a safe public IP address, the application permits the connection based on its initial validation checks. However, because the dnsLookup function is used instead of lookup for subsequent resolution steps or specific network stack interactions, the security filter fails to re-validate the resolved IP against the blocklist during the actual TCP handshake phase. This discrepancy enables an attacker to manipulate DNS responses dynamically, causing the target hostname to resolve to a private internal IP address after the initial safety check has passed but before the connection is fully established. Consequently, requests sent via REST API endpoints, GraphQL queries, OpenAPI integrations, or OAuth flows can successfully reach blocked private network addresses that were intended to be inaccessible from external contexts.
The operational impact of this vulnerability is significant for organizations relying on ToolJet as a low-code platform with extensive integration capabilities. An attacker who controls the hostname used in data source configurations or API calls can exploit this flaw to access internal services such as database servers, management interfaces, cloud metadata endpoints, and other sensitive infrastructure components that are not exposed to the public internet. This effectively neutralizes the SSRF mitigation strategy implemented by the ToolJet team, turning a security control into an attack vector. The ability to reach private addresses can lead to unauthorized data access, lateral movement within the internal network, or further exploitation of vulnerabilities present in those internal services. Given that low-code platforms often handle sensitive business logic and connect to critical enterprise systems, this vulnerability poses a high risk to confidentiality and integrity.
This issue aligns with CWE-918 Server-Side Request Forgery (SSRF) flaws where the server fails to properly validate user-supplied URLs or hostnames against security policies before making requests. It also relates to CWE-749 Exposed Dangerous Method, as the underlying DNS resolution method exposes a bypass in the application's defensive logic. From an ATT&CK perspective, this vulnerability facilitates T1568 Dynamic Resolution techniques, specifically DNS rebinding, which allows attackers to evade network-based access control lists and security filters by manipulating domain name system responses during runtime.
To mitigate this risk, organizations using ToolJet must immediately upgrade to version 3.21.96-LTS or later where the getSSRFProtectionOptions function has been corrected to properly utilize the lookup parameter for comprehensive DNS validation. Until an upgrade is feasible, administrators should implement strict network-level controls such as firewall rules that block outbound connections from the application server to private IP ranges regardless of hostname resolution outcomes. Additionally, deploying a web application firewall with SSRF detection capabilities can help identify and block anomalous requests attempting to access internal resources via manipulated DNS responses. Regular security audits of integration configurations are also recommended to ensure no external-facing endpoints rely on unvalidated hostnames for critical data operations.