Investigating a Possible ToolJet SSO Email-Link Abuse
Investigating a Possible ToolJet SSO Email-Link Abuse An alert for CVE-2026-137536 may not begin with a failed password. The expected signal is an OAuth SSO sign-in that resolves to an existing ToolJet user through an
Investigating a Possible ToolJet SSO Email-Link Abuse
An alert for CVE-2026-137536 may not begin with a failed password. The expected signal is an OAuth SSO sign-in that resolves to an existing ToolJet user through an email address without a stored provider-subject binding. The investigation must separate a legitimate first-time link from a takeover attempt, then determine what the resulting session did.
The vendor advisory describes enough of the vulnerable flow to build a concrete evidence checklist. This article focuses on the records an investigator should preserve and the questions that can distinguish exposure from confirmed compromise.
Start with the deployment facts
Record the ToolJet version and release channel. The reported range is before 3.21.94-beta. The vendor advisory identifies 3.21.96-LTS as patched, while the CVE record marks 3.21.94-beta as fixed. A custom image may need source or build verification.
Then record whether Google SSO or Git SSO is enabled. Note every configured issuer, client ID, restricted domain, instance-wide signup setting, and workspace-level login path. A deployment without either provider cannot reach the reported flow, while an SSO deployment with broad domain acceptance merits closer review.
The session to look for
Search for SSO-created sessions tied to a local user whose account was previously password-based, invited, or never linked to the provider subject. The event may carry the victim's email and a successful local session result while lacking the subject that should have bound the two identities.
The review should distinguish three cases:
- A legitimate user completed an approved link process.
- A user signed in for the first time but the application did not record a subject.
- An attacker supplied a trusted-issuer token for the victim's email and received the victim's session.
The response differs for each case. The third requires containment and a broader review. The second requires a configuration and logging fix even if no malicious activity is found.
Provider evidence to request
For Google, collect the sign-in event and the ID token validation context. The important fields include the issuer, audience, subject, email, email_verified result, timestamp, and client application. For a self-hosted Git service, collect the OAuth application event, the user and primary-email result, the token issuance time, and the repository host.
ToolJet's application logs should be joined to provider logs using time, email, user ID, and session ID where available. A matching email alone is not proof of the same person. The subject is the stable identifier that should connect the records.
Data to preserve from ToolJet
Preserve authentication logs, session creation records, SSO configuration snapshots, user status, invitations, role assignments, and any provider-link fields. Export the relevant audit events before changing users or deleting sessions.
If the platform records IP address and user agent, compare the SSO sign-in with the actions that followed. A change in network location or client after a normally authenticated login can be a clue, but it does not prove takeover. The provider subject and email-verification result carry more weight for this specific CVE.
Application activity after sign-in
The account's role determines what to review. For an administrator, inspect workspace creation, user management, invitations, data-source changes, application edits, query execution, workflow changes, API token creation, and webhook settings.
For a builder account, focus on applications and data sources reachable by that user. For a viewer account, look for data exports or unusual query access. The advisory's reported blast radius emphasizes administrative control of workspaces, applications, data sources, and stored credentials.
Compare current records with backups or version history. Look for changes that occurred during or after the suspicious session and that have no corresponding ticket or expected deployment. Preserve both the current state and the earlier reference.
When downstream credentials are involved
If the compromised account could view or use data-source credentials, treat those credentials as exposed. Inventory the connected systems and rotate the ones the role could reach. A database password with broad grants is more urgent than a narrowly scoped read-only key.
Coordinate with the downstream owners. Ask them to review authentication and query logs for the application's service identity during the exposure window. ToolJet session cleanup does not invalidate credentials already copied by an attacker.
Exposure evidence and its limits
The earlier ZoomEye check for this topic found 689 matches for app="ToolJet" and zero for vul.cve="CVE-2026-137536". The product count is not a confirmed list of vulnerable systems. It can help expand inventory, but it cannot prove that a discovered instance has SSO enabled or runs an affected version.
Use the measurement as a lead, then validate the deployment, version, provider configuration, and authentication records. If those checks are unavailable, record the gap. Do not convert a product match into a compromise finding.
Closing the investigation
Upgrade to a fixed build and verify the new verified-email check. Remove unneeded provider configurations and tighten domain restrictions. For every suspicious session, document the provider subject, email verification state, local account, actions taken, credentials exposed, and containment result.
The investigation is complete when the team can explain how the session was created, which account it represented, what the account could reach, what changed, and which credentials or sessions were invalidated. A patch alone answers only the first part.
References
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.