A ToolJet SSO Configuration Review for CVE-2026-137536
A ToolJet SSO Configuration Review for CVE-2026-137536 CVE-2026-137536 is fixed in the application code, but the configuration around ToolJet's SSO login still determines how much risk a deployment carries. A provider
A ToolJet SSO Configuration Review for CVE-2026-137536
CVE-2026-137536 is fixed in the application code, but the configuration around ToolJet's SSO login still determines how much risk a deployment carries. A provider that can assert an address matching an existing local account, an unrestricted domain policy, and an external account with the same email form the conditions behind the reported takeover.
This review focuses on the controls an administrator can inspect before and after upgrading. It does not replace the vendor patch. It reduces the chance that a similar identity collision appears through a different provider or a later configuration change.
Enumerate the identity entry points
List every ToolJet login path. That includes instance-wide SSO, organization SSO, workspace SSO, local password login, and any invitation flow that can create or activate an account.
For each enabled SSO path, record the provider, issuer, client ID, domain restriction, signup setting, and the identity attributes ToolJet uses. The vulnerable code is in the OAuth service shared by the Google and Git strategies, but the surrounding login paths differ.
Review domain boundaries
The advisory notes that ToolJet's domain check returns true when no restricted domain is configured. That default makes more addresses eligible for a match.
Set a domain restriction where the organization has a stable tenant boundary. Confirm that the restriction applies to both instance-level and workspace-level login paths. A domain setting is not a substitute for email verification or subject binding, but it reduces the set of identities that can reach an existing account.
Inventory email collisions
Compare the ToolJet user list with the addresses the configured provider can assert. Pay particular attention to:
- Local password accounts created before SSO.
- Invited users who have not completed account linking.
- Administrators and builders with access to data-source credentials.
- Accounts created with personal or contractor addresses.
Each collision is a case for explicit link verification. The user should prove ownership of the existing ToolJet account before a new provider identity becomes a login method. An automatic email match does not provide that proof.
Require a stable provider subject
The advisory calls for recording (provider, subject) on the user entity and resolving the login by that pair. Email should remain a display attribute. This design survives address changes and prevents a new external identity from inheriting an old local account by coincidence.
If the current product does not expose a subject-link field, document the gap. Use the patched verified-email check and domain restrictions as bounded controls, and monitor sessions that appear to link an existing account for the first time.
Review provider-specific settings
For Google, verify the client ID and audience. The patched helper rejects an empty client ID because an undefined audience can cause the library to skip audience validation. Confirm that the ToolJet configuration uses the expected OAuth application and not a shared or test client.
For Git, verify the host and API behavior. The patched helper treats a public profile email as verified and checks the primary-email response when the profile address is hidden. If the Git host is self-managed, confirm that the API returns the fields the integration expects and that users cannot set an arbitrary unverified primary address.
Logging requirements
Log the provider, issuer, subject, email, verification result, local user, session identifier, and decision outcome for each SSO sign-in. Keep the records long enough to investigate an account takeover that is discovered after the fact.
Do not log access tokens or client secrets. A stable subject and a verification result are sufficient to reconstruct the identity decision without retaining reusable credentials.
Upgrade and test
Move beta deployments to 3.21.94-beta or later and stable deployments to 3.21.96-LTS or later. Use an isolated test environment to try a valid Google or Git login, an explicitly unverified email, and a token for the wrong audience.
Confirm that a verified email matching an existing local account triggers the intended linking behavior. The advisory recommends an authenticated link action rather than an automatic session. Record the expected behavior before the production test so that a successful login is not mistaken for correct handling.
Exposure context
The earlier ZoomEye check found 689 app="ToolJet" matches and zero vul.cve="CVE-2026-137536" matches. The product count is not a vulnerability list. It helps identify internet-facing ToolJet instances, while the configuration review determines whether an instance is reachable through the affected SSO path.
Completion criteria
The review is complete when the team has a list of ToolJet deployments, their fixed-build status, every enabled SSO provider, and the remaining email collisions. Each collision should have an owner, a verified link decision, and a monitoring record. Provider logs should show the subject and verification result for future sign-ins.
References
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.