CVE-2026-39968: CWE-284: Improper Access Control in baptisteArno typebot.io
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.
AI Analysis
Technical Summary
TypeBot versions 3.15.2 and earlier have an incomplete fix for a prior credential theft vulnerability. Although the builder's getCredentials tRPC endpoint enforces workspace membership checks, the bot-engine runtime's preview chat endpoint does not properly validate workspace ownership. The getCredentials() function uses a falsy check on workspaceId, and since the preview endpoint accepts a client-controlled workspaceId that can be an empty string (allowed by the Zod schema), an attacker can bypass ownership verification by submitting workspaceId as an empty string. This allows any authenticated user to access credentials from any workspace, risking credential exfiltration and misuse.
Potential Impact
The vulnerability allows authenticated users to bypass access controls and retrieve credentials from any workspace, potentially leading to credential exfiltration, unauthorized use of external services, financial loss, and data breaches. The CVSS score of 7.1 reflects a high severity with network attack vector, low attack complexity, requiring privileges but no user interaction, and high confidentiality impact with limited integrity impact and no availability impact.
Mitigation Recommendations
Patch status is not yet confirmed — no official fix or patch links are currently available. Users should monitor the vendor's advisory for updates and apply the official fix once released. Until then, restrict authenticated user permissions as much as possible and avoid using vulnerable versions. No vendor advisory states that no action is required or that the issue is mitigated.
CVE-2026-39968: CWE-284: Improper Access Control in baptisteArno typebot.io
Description
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.
CVSS v3.1
Score 7.1high
Affected software
pkg:github/baptistearno/typebot.ioRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
TypeBot versions 3.15.2 and earlier have an incomplete fix for a prior credential theft vulnerability. Although the builder's getCredentials tRPC endpoint enforces workspace membership checks, the bot-engine runtime's preview chat endpoint does not properly validate workspace ownership. The getCredentials() function uses a falsy check on workspaceId, and since the preview endpoint accepts a client-controlled workspaceId that can be an empty string (allowed by the Zod schema), an attacker can bypass ownership verification by submitting workspaceId as an empty string. This allows any authenticated user to access credentials from any workspace, risking credential exfiltration and misuse.
Potential Impact
The vulnerability allows authenticated users to bypass access controls and retrieve credentials from any workspace, potentially leading to credential exfiltration, unauthorized use of external services, financial loss, and data breaches. The CVSS score of 7.1 reflects a high severity with network attack vector, low attack complexity, requiring privileges but no user interaction, and high confidentiality impact with limited integrity impact and no availability impact.
Mitigation Recommendations
Patch status is not yet confirmed — no official fix or patch links are currently available. Users should monitor the vendor's advisory for updates and apply the official fix once released. Until then, restrict authenticated user permissions as much as possible and avoid using vulnerable versions. No vendor advisory states that no action is required or that the issue is mitigated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-08T00:01:47.627Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a10a423e1370fbb48342fdc
Added to database: 05/22/2026, 18:44:51 UTC
Last enriched: 05/29/2026, 20:41:40 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 53
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.