TypeBot Cross-Workspace Credential Theft Vulnerability via Bot-Engine Preview Endpoint

Vulnerability

A vulnerability in TypeBot, a chatbot builder tool, allows for cross-workspace credential theft through the bot-engine's preview chat endpoint. This issue affects TypeBot versions through 3.15.2. The vulnerability arises because the preview endpoint accepts a client-controlled workspaceId field, which can be manipulated to bypass credential ownership verification. As a result, any authenticated user can access credentials from any workspace, leading to unauthorized use of sensitive information and potential abuse of external services.

Impact

Exploitation of this vulnerability allows any authenticated user to exfiltrate credentials from any workspace, including API keys, OAuth tokens, and other sensitive information. This can result in unauthorized access to integrated services, financial damage through abused credentials, and a broader data breach involving exposed OAuth tokens and connected services.

Reproduction

To reproduce this vulnerability, authenticate a TypeBot account and obtain a session cookie. Then, send a POST request to the preview endpoint with a crafted typebot object that includes an empty workspaceId. This request can be made using a tool like curl, and if successful, the response will contain the exfiltrated credentials embedded in a client-side script.

Remediation

Users can upgrade to TypeBot version 3.16.0, where this vulnerability has been patched. The update includes a fix for the authorization bypass in the preview chat endpoint, ensuring that workspace ownership checks are properly enforced.

Added: May 26, 2026, 3:08 PM
Updated: May 26, 2026, 3:08 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
3.1
exploitability
6.6
remediation
0.0
relevance
9.1
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.