DEV Community

yutianle
yutianle

Posted on

ToolJet Patch Triage for CVE-2026-137536

ToolJet Patch Triage for CVE-2026-137536

The version guidance for CVE-2026-137536 looks inconsistent at first glance. The CVE record says 3.21.94-beta is fixed. The GitHub advisory says patched versions are 3.21.96-LTS and later. Both statements describe the same release family in different channels: the beta received the SSO hardening first, while the stable LTS line points to a later build.

That distinction matters to patch teams. A version comparison that ignores release channels can mark a stable deployment as fixed when it is not, or keep a beta deployment open after the relevant source change has shipped.

The affected boundary

The advisory lists versions before 3.21.94-beta as affected. The CVE record expresses the same range as from 0 up to, but excluding, 3.21.94-beta, with that beta release marked fixed.

The vulnerable component is ToolJet's server OAuth SSO sign-in module. The issue requires Google or Git SSO and a user email that a trusted provider assertion can match. A ToolJet installation without either provider does not exercise this specific path.

Why the LTS number is higher

The beta and LTS releases follow different maintenance streams. 3.21.94-beta was published as a prerelease with a group of security hardening changes, including pull request 17960. 3.21.96-lts is the stable release named by the advisory as patched.

The safest statement for operators is:

  • A beta deployment should run 3.21.94-beta or a later fixed build.
  • A stable LTS deployment should run 3.21.96-LTS or later.
  • A custom image needs source-level verification rather than a label comparison.

This is less tidy than a single fixed version, but it reflects the published artifacts.

What the patch changed

The tagged beta source contains an email-verification result in the shared OAuth response. The OAuth service rejects a response when the value is explicitly false. The Google helper reads email_verified, and the Git helper propagates the verification state of the selected email.

The source also rejects a Google SSO configuration without a client ID before token verification. Pull request 17960 adds invite-email matching and tightens workspace signup and instance-wide SSO signup behavior. Those changes sit in the same security-release area and should be part of the verification record.

Inventory before comparison

Do not start with a simple version count. Build an inventory that includes the deployment host, image digest or package source, release channel, owner, internet reachability, and SSO provider.

The prior ZoomEye query for this topic returned 689 app="ToolJet" product matches. The CVE filter returned zero. The product matches can help identify internet-facing deployments, but they do not show version, provider configuration, or patch status. Use the state inventory as the authoritative source and the external measurement as a discovery aid.

Risk ranking

Prioritize deployments that meet all of these conditions:

  • A version before the fixed beta boundary.
  • Google or Git SSO enabled.
  • No effective domain restriction.
  • Existing local, invited, or administrator users whose email can be asserted by the provider.

Treat an exposed administrator account as a higher priority than a user account with no data-source access. The advisory describes administrative takeover as control of workspaces, applications, data sources, and stored credentials. A version-only scan can miss that difference.

Maintenance-window steps

Before the upgrade, back up the ToolJet database and record the active SSO configuration without exposing secrets. Confirm that the target artifact is from the expected release channel and has a verifiable digest or package signature.

After deployment, check the running version and test SSO sign-in. Verify that an unverified provider email is rejected and that a valid user still receives the expected account. If the deployment uses Google, confirm the client ID is present and that token verification uses the expected audience.

Post-patch checks

Review recent sessions for existing users that were created through SSO without a prior provider-subject binding. Rotate credentials visible to any account that may have been taken over. Remove unnecessary SSO providers and tighten domain restrictions.

The advisory's stronger remediation advice remains relevant after the upgrade. Resolve identities by (provider, subject), require a verified-email signal before linking, and reject an email collision until an authenticated user links the provider. A patch can close the reported bypass while the underlying account model still depends on email.

Decision record

Document the exact build, the release channel, the source check you performed, the SSO configuration, and the results of the staging test. Record any deployment that cannot be upgraded immediately and the compensating controls in place.

That record lets the next reviewer reconcile the beta and LTS version guidance without guessing. It also makes clear whether the organization addressed the vulnerable code, the risky account-linking behavior, or only the version label.

References

Top comments (0)