CVE-2026-39968: TypeBot: Cross-Workspace Credential Theft via Bot-Engine Preview Endpoint

Published May 22, 2026
·
Updated

TypeBot is a chatbot builder tool. In versions 3.15.2 and prior, the fix for GHSA-4xc5-wfwc-jw47 ("Credential Theft via Client-Side Script Execution and API Authorization Bypass") is incomplete. While the builder's getCredentials tRPC endpoint was patched with workspace membership checks, the bot-engine runtime still allows any authenticated user to use credentials from any workspace via the preview chat endpoint. The bot-engine's getCredentials() utility function uses a falsy check (if (workspaceId && ...)) for workspace ownership validation. Since the preview endpoint accepts a client-controlled workspaceId field and the Zod schema allows empty strings, an attacker can supply workspaceId: "" to bypass credential ownership verification entirely. Exploitation can result in credential exfiltration, external service abuse, financial damage and a data breach.

Affected Software

1 affected component
Typebot Typebot<=3.15.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade TypeBot (bot-engine) to a version that resolves this vulnerability.

    Fixed in 3.15.2Patch GHSA-4xc5-wfwc-jw47
  2. Compensating control

    Restrict access to the bot-engine preview chat endpoint (the preview endpoint that accepts client-controlled workspaceId) to only authorized users/workspaces until the incomplete GHSA-4xc5-wfwc-jw47 fix is fully applied.

Event History

May 22, 2026
CVE Published
via MITRE·06:26 PM
Data Sourced
via MITRE·06:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-39968?

CVE-2026-39968 has a high severity rating of 7.1.

2

How do I fix CVE-2026-39968?

To fix CVE-2026-39968, upgrade to TypeBot version 3.16.0 or later.

3

What type of vulnerability is CVE-2026-39968?

CVE-2026-39968 is a Cross-Workspace Credential Theft vulnerability.

4

What versions of TypeBot are affected by CVE-2026-39968?

TypeBot versions 3.15.2 and prior are affected by CVE-2026-39968.

5

What can an attacker achieve with CVE-2026-39968?

An attacker exploiting CVE-2026-39968 can potentially steal credentials from workspaces.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203