Dev.to Security πŸ” Cybersecurity πŸ‘ 0 πŸ“– 4 min read

ToolJet CVE-2026-137536: The Preconditions Behind the Takeover

ToolJet CVE-2026-137536: The Preconditions Behind the Takeover The most useful question about CVE-2026-137536 is not whether an attacker can call an endpoint. It is whether the deployment can produce the exact identity

ToolJet CVE-2026-137536: The Preconditions Behind the Takeover

The most useful question about CVE-2026-137536 is not whether an attacker can call an endpoint. It is whether the deployment can produce the exact identity assertion that crosses ToolJet's trust boundary. The account takeover depends on Google or Git SSO, a known victim email, a permissive domain policy, and a trusted token whose email is not verified by the provider.

That combination is narrower than a generic authentication bypass, but it is not theoretical. The vendor advisory describes the path in detail, the CVE assignment rates it critical, and ToolJet published a fix that checks the verified-email result before continuing.

The vulnerable account decision

ToolJet looked up an OAuth user by email. The SSO subject was parsed, but the server did not store a provider-and-subject binding on the local user. Once a provider response carried an email that matched an existing account, ToolJet could issue a session for that account.

This affected local password accounts and invited users because the SSO flow did not require the original authentication method. The attacker did not need the victim's password. The SSO response became the authentication event.

Condition one: an enabled SSO provider

The reported issue applies to ToolJet's Google and Git SSO strategies. The vendor advisory identifies the OAuth SSO sign-in module as the affected component. A deployment that does not enable either strategy is not reachable through this specific path.

That does not mean every SSO-enabled deployment is equally exposed. Single-tenant Google configurations, self-hosted Git services, workspace-wide login, and organization login can present different issuer and audience controls. The security decision should use the actual provider configuration, not a general claim that SSO is enabled.

Condition two: a known existing email

The attacker needs the email address of an existing ToolJet user. The attack is a takeover rather than a new-account creation path, so the address must map to a local, invited, or administrator account.

Public profiles, support channels, application invitations, and naming conventions can reveal addresses. In some organizations, an email pattern makes the victim list predictable. The relevant inventory is the set of ToolJet users whose addresses could also be asserted by the configured provider.

Condition three: no effective domain restriction

ToolJet checks whether the asserted email belongs to a restricted domain. The advisory states that the check returns true when no restriction is configured, which is the default.

An organization that relies on SSO without a domain restriction should not assume that the identity provider enforces the same boundary. Review the ToolJet setting directly, then compare it with the issuer's tenant and domain controls. A domain restriction reduces the reachable victim set, but it does not replace token validation or account binding.

Condition four: a suitable trusted token

The token must come from a trusted issuer and carry the victim's email in a state where verification is absent or false. It must also satisfy the provider-specific checks. The vulnerable Google path verified the ID token signature and audience before extracting the identity. The attacker therefore needed a Google-signed token with the target ToolJet client ID as its audience.

The vendor advisory describes a possible route through a controlled Google Workspace that adds the victim address as an unverified secondary address. The result still depends on the issuer's behavior and the exact token claims. For Git, the server selected the primary email and treated the public profile address as verified. The advisory says the Git path has a similar structure but does not claim that every Git host permits arbitrary email assertion.

What the attacker receives

A successful request creates a ToolJet session for the matched user. The attacker inherits that user's role, workspaces, applications, connected data sources, and stored credentials. When the victim is an administrator, the blast radius can include administrative configuration and the secrets used by applications.

The advisory does not describe a separate cross-tenant escape. Its impact is bounded by the local ToolJet account and the resources that account can reach. The risk comes from the privilege of the matched account, not from a universal bypass of every authorization boundary.

Affected versions and fixes

ToolJet versions before 3.21.94-beta are affected according to the GitHub advisory and CVE record. The CVE record marks 3.21.94-beta as fixed. The vendor advisory names 3.21.96-LTS as the patched stable release, and the 3.21.94-beta release notes include the SSO hardening from pull request 17960.

The patched source rejects a response when emailVerified is explicitly false. The Google helper supplies this value from email_verified. The Git helper supplies it from the selected address. These checks close the path described in the advisory.

Exposure context

The earlier ZoomEye measurement for this topic returned 689 matches for app="ToolJet" and zero matches for vul.cve="CVE-2026-137536". The product count does not show version or SSO configuration, and the CVE filter does not prove that no vulnerable instance exists. It is a discovery signal, not a confirmation of exploitability.

Triage sequence

First, identify every ToolJet deployment and verify its build. Second, record whether Google or Git SSO is enabled and which issuer is configured. Third, compare the victim-email inventory with the ToolJet user list. Fourth, review authentication logs for SSO sessions created for an existing account without an established provider link.

If the required token conditions cannot be shown, preserve that finding as uncertainty rather than assuming exploitation. If they can be shown, treat the account as compromised until the session, credential, and application data review is complete.

References

πŸ“° Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.