HIGH 8.3

CVE-2026-55412: ToolJet SSRF in RestAPI Data Source Leaks Azure IMDS Tokens

ToolJet, an open-source platform for building internal tools and AI agents, contains a server-side request forgery (SSRF) vulnerability in its RestAPI data source component. The vulnerability allows authenticated users to bypass IP-based security filters by using specially crafted DNS names that resolve to Azure's Instance Metadata Service (IMDS). An attacker can exploit this to steal Azure managed identity tokens, granting access to production Kubernetes cluster credentials. The issue affects versions prior to 3.20.178-lts and has been patched in that release.

Source data · NVD / CISA · public domain

CVSS
3.1 · 8.3 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Weaknesses (CWE)
CWE-918
Affected products
0 configuration(s)
Published / Modified
2026-06-25 / 2026-06-25

NVD description (verbatim)

ToolJet is the open-source foundation am AI-native platform for building and deploying internal tools, workflows and AI agents. Prior to 3.20.178-lts, there's an SSRF in the RestAPI data source component. The RestAPI data source executes HTTP requests server-side, and its private IP filter only checks the hostname string — not the resolved IP. DNS names like 169.254.169.254.nip.io resolve to the Azure IMDS link-local address and bypass the filter entirely. This allows any authenticated user (free tier) to steal Azure managed identity tokens for the AKS production cluster. This vulnerability is fixed in 3.20.178-lts.

2 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

The RestAPI data source in ToolJet performs server-side HTTP requests and implements a private IP filter intended to prevent SSRF attacks. However, the filter validates only the hostname string rather than the resolved IP address. This allows attackers to use DNS rebinding techniques—specifically, DNS names like 169.254.169.254.nip.io that resolve to link-local addresses—to reach the Azure IMDS endpoint at 169.254.169.254:80. The IMDS service exposes managed identity tokens without authentication when queried from within the same cloud environment. An authenticated user (including free-tier accounts) can craft a malicious RestAPI request that bypasses the hostname filter and retrieves Azure managed identity credentials for the host AKS cluster, compromising cluster authentication.

Business impact

If exploited, this vulnerability enables lateral movement and privilege escalation within cloud-hosted deployments. An attacker with a free ToolJet account gains access to production Kubernetes credentials, allowing them to assume roles with cluster-wide permissions. This can lead to unauthorized access to sensitive workloads, data exfiltration, cluster compromise, and potential disruption of business-critical services running on AKS. The blast radius is particularly severe for organizations running ToolJet in Azure environments without additional network controls.

Affected systems

ToolJet versions prior to 3.20.178-lts are affected. The vulnerability requires the RestAPI data source component to be available and the deployment to be hosted in Azure. Organizations running ToolJet on-premises, in non-Azure cloud providers, or in isolated networks with outbound IMDS filtering are at lower risk, though the fundamental design flaw affects all versions before the patch. Deployments in AWS (with EC2 metadata service protection) or GCP may have different exposure profiles depending on metadata service configuration.

Exploitability

Exploitability is moderate to high. The attack requires only a user account on the ToolJet instance (including free tier), no special network position, and no victim interaction. The attacker must know or discover that ToolJet is running in Azure and that the RestAPI data source is enabled. The exploitation technique—using DNS rebinding via services like nip.io—is well-known in the SSRF community and requires minimal technical sophistication. However, the attacker must have valid credentials or access to create an account on the target ToolJet instance.

Remediation

Immediately upgrade to ToolJet version 3.20.178-lts or later. This release patches the RestAPI filter to validate resolved IP addresses rather than relying solely on hostname strings. Organizations unable to patch immediately should disable the RestAPI data source component or implement network-level controls to block outbound requests to link-local addresses (169.254.0.0/16). For Azure deployments, consider using Azure Policy to restrict metadata service access or employ additional authentication mechanisms for managed identities.

Patch guidance

Verify the installed ToolJet version against the vendor release notes for 3.20.178-lts. The patch modifies the IP validation logic in the RestAPI data source component to resolve the hostname and check the resulting IP address against the private IP blocklist. Test the patch in a staging environment before production deployment to ensure RestAPI integrations with legitimate internal services continue to function. Review any existing RestAPI data source configurations that may have been created as workarounds and consolidate them post-patch.

Detection guidance

Monitor ToolJet logs for RestAPI requests targeting link-local addresses or the Azure IMDS endpoint (169.254.169.254). Look for requests using DNS names with patterns common in rebinding attacks (e.g., nip.io, xip.io, or similar services). Check for authentication token retrieval patterns in HTTP request logs, particularly requests to /metadata/identity/oauth2/token endpoints. Implement DNS monitoring to flag lookups of rebinding services by ToolJet instances. Review recent RestAPI data source configurations and audit which users created or modified them.

Why prioritize this

This vulnerability should be prioritized for immediate patching because it combines high CVSS impact (8.3 HIGH), low attack complexity, no authentication barriers for free-tier users, and direct access to production credentials. The ability to extract managed identity tokens for an entire AKS cluster represents a complete compromise of cluster authentication. Any ToolJet deployment in Azure without additional segmentation should be treated as a critical patch candidate.

Risk score, explained

The CVSS 3.1 score of 8.3 (HIGH) reflects a network-accessible vulnerability with low attack complexity and no required privileges. The scope change indicates the attacker can impact resources beyond the vulnerable component (the Kubernetes cluster and its workloads). The confidentiality, integrity, and availability impacts are all scored as LOW per the vector, though in practice, token theft enables HIGH-impact follow-on attacks. The score appropriately reflects the direct threat without crediting post-exploitation impact.

Frequently asked questions

If we're running ToolJet in AWS instead of Azure, are we affected?

This specific vulnerability targets Azure IMDS. AWS EC2 metadata service uses a different endpoint (169.254.169.254 but with different authentication mechanisms). However, the underlying SSRF flaw still exists—the hostname-only filtering can be bypassed to reach other internal services. You should still patch to version 3.20.178-lts to benefit from proper IP resolution validation, and assess whether your AWS metadata service configuration (IMDSv2 vs. IMDSv1) provides additional protection.

Can we safely use the RestAPI data source after patching?

Yes. The patch fixes the validation logic without removing the RestAPI component. Legitimate internal API calls to private IP ranges will still be blocked (as intended), but the filter now properly validates resolved IPs. Test your existing configurations in staging to confirm they continue to work as expected with the patched version.

What if we cannot patch immediately?

Implement compensating controls: disable or restrict access to the RestAPI data source if not actively used; block outbound requests from ToolJet to link-local addresses (169.254.0.0/16) at the network level; restrict ToolJet account creation to trusted users only; and monitor for suspicious RestAPI requests. These are temporary measures—patching should remain your primary objective.

Does this affect ToolJet deployments in Kubernetes clusters outside of Azure?

The IMDS-specific exploitation path requires Azure. However, the SSRF via hostname-only filtering is a platform issue affecting all deployments. Attackers could use it to reach other internal services, databases, or APIs accessible from the ToolJet pod. Patch regardless of cloud provider.

This analysis is provided for informational purposes and should be verified against official vendor advisories and your organization's security policies. CVSS scoring and vulnerability classifications may evolve as additional information becomes available. Test all patches in staging environments before production deployment. Consult your cloud provider and security team regarding network segmentation and compensating controls applicable to your specific infrastructure. This vulnerability requires valid ToolJet account access; network-level access controls are a recommended additional layer of defense. Source: NVD (public-domain), retrieved 2026-08-03. Analysis generated by SEC.co (claude-haiku-4-5).