Typebot CVE-2026-39968
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconRegister or use existing Typebot account
-
DeliveryIdentify target workspace credentials
-
ExploitSend preview chat request with workspaceId=''
-
InstallFalsy-check bypasses ownership validation
-
C2Bot-engine loads victim credentials
-
ExecuteIntegration block executes under stolen credentials
-
ImpactExfiltrate secrets or abuse external services
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must hold a valid authenticated Typebot account (PR:L) on the target instance - any tenant-level account is sufficient; workspace membership in the target workspace is NOT required. The target deployment must run Typebot version 3.15.2 or earlier and expose the bot-engine preview chat endpoints (/v1/typebots/{typebotId}/preview/startChat and /v1/sessions/{sessionId}/continueChat). Exploitation requires sending a request with the client-controlled workspaceId field set to an empty string (allowed by the Zod schema) and referencing a typebot configuration that consumes credentials from the victim workspace. Limiting factors: instances with closed signup and tightly controlled user provisioning materially reduce the practical attack surface, and no user interaction is needed (UI:N) once authenticated. |
| Impact | The CVSS 3.1 base score of 7.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N) reflects network-reachable, low-complexity exploitation requiring only low-privilege authentication, with high confidentiality impact (stolen credentials) and limited integrity impact (abuse of those credentials downstream). The vulnerability is not listed in CISA KEV and no EPSS score was provided, so it is not confirmed actively exploited; however, the GitHub Security Advisory and a public patch commit (d96f572) reveal the exact code path, lowering the bar to weaponization. The risk is meaningfully higher than CVSS alone suggests for any multi-tenant or shared Typebot deployment, because PR:L only requires any registered account - in self-hosted or SaaS scenarios where signup is open, that threshold is effectively trivial. Conflict to note: no EPSS or KEV evidence is provided, so prioritization should be driven by deployment exposure (multi-tenant vs. single-tenant) and the sensitivity of stored credentials rather than threat-intel signals alone. |
| Exploit ScenarioDerived | An attacker registers a low-privilege Typebot account (or uses any existing tenant account), then crafts a request to the preview chat endpoint specifying workspaceId: "" along with a typebot reference that uses credentials from a victim workspace. The bot-engine's falsy-check authorization gate is bypassed, the runtime loads the victim's stored credentials (e.g., SMTP or third-party API keys), and integration blocks execute under those credentials - letting the attacker exfiltrate secrets or pivot to abuse the victim's external services. No public PoC is referenced in the advisory, but the patch diff makes the bypass mechanics explicit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 22, 2026
Authorization bypass in Typebot chatbot builder versions 3.15.2 and prior allows any authenticated user to access credentials from arbitrary workspaces via the preview chat endpoint. The bot-engine's getCredentials() utility uses a falsy check on workspaceId, so supplying an empty string bypasses ownership validation entirely, enabling credential theft, external service abuse, and data breach. This is an incomplete fix for the prior advisory GHSA-4xc5-wfwc-jw47, and no public exploit has been identified at time of analysis though the patch commit is public.
RemediationAI
Vendor-released patch: upgrade to Typebot v3.16.0 or later (https://github.com/baptisteArno/typebot.io/releases/tag/v3.16.0), which moves the preview chat procedures behind authenticatedProcedure in a new builderChatRouter and changes startChatPreviewProcedure from procedureWithOptionalUser to protectedProcedure, per commit d96f572e6099c5f622c05ba7b8634e6477dcf052. If immediate upgrade is not possible, restrict account creation so that only trusted users can authenticate (closing self-service signups eliminates the PR:L attack surface), and consider temporarily disabling the preview chat endpoint at the reverse proxy by blocking the /v1/typebots/{typebotId}/preview/startChat and /v1/sessions/{sessionId}/continueChat routes - note this will break the in-builder preview feature for legitimate users. Review audit logs for unexpected use of credentials from workspaces other than their owner's, and rotate any credentials (SMTP, API keys, OAuth tokens) stored in Typebot workspaces that may have been exposed prior to patching.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Typebot (cpe:2.3:a:baptistearno:typebot.io) is an open-source chatbot builder with a builder application and a bot-engine runtime that executes flows. Credentials (e.g., SMTP, API keys for integrations) are scoped to workspaces, and the prior fix added workspace membership checks to the builder's getCredentials tRPC endpoint. However, the bot-engine's preview chat path retained a flawed getCredentials() helper guarded by 'if (workspaceId && ...)', which short-circuits when workspaceId is falsy. Combined with a Zod input schema that permits empty strings for the client-controlled workspaceId field, the ownership check is skipped entirely. This is a CWE-284 (Improper Access Control) issue rooted in incomplete input validation and a permissive truthiness guard around the authorization gate.
Know when Typebot Io gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
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.
Executive ViewAI
Typebot chatbot builder (versions 3.15.2 and prior) contains an authorization bypass in the preview chat endpoint that allows authenticated users to steal API credentials and external service secrets from arbitrary workspaces, creating a direct path to unauthorized system access and lateral movement. This vulnerability resulted from incomplete remediation of a prior advisory and poses a significant credential compromise risk. Affected organizations could experience unauthorized access to third-party systems, service abuse, and potential data exfiltration.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict preview chat endpoint access via network or application-level controls; implement enhanced authorization validation requiring explicit workspace ownership verification; rotate all stored credentials preemptively; enable detailed audit logging for all credential retrieval attempts; monitor for suspicious cross-workspace access patterns; consider disabling preview functionality until patched version is released.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
More in Typebot Io
View allServer-Side Request Forgery in Typebot chatbot builder versions 3.15.2 and prior allows unauthenticated remote attackers
Cross-workspace OAuth credential takeover in Typebot (open-source chatbot builder) before 3.17.0 lets a user holding onl
Unauthenticated cross-tenant file upload in Typebot.io chatbot builder versions 3.16.1 and earlier allows anonymous visi
Cleartext storage of API bearer tokens in the self-hosted open-source Typebot chatbot builder (version 3.16.1) lets anyo
Stored cross-site scripting in Typebot chatbot builder versions 3.15.2 and prior allows a malicious imported or collabor
Stored cross-site scripting in Typebot (chatbot builder) versions 3.15.2 and prior lets an authenticated user upload a c
Unauthenticated S3 path traversal in Typebot versions prior to 3.17.0 allows any attacker to obtain presigned S3 PUT URL
Server-side request forgery in Typebot chatbot builder before version 3.17.2 allows remote unauthenticated attackers to
Server-side request forgery in Typebot before 3.17.2 lets an authenticated workspace editor or creator bypass the shared
Server-side request forgery in Typebot versions 3.15.2 and prior allows authenticated users to bypass the validateHttpRe
Credential exfiltration in Typebot prior to 3.17.0 allows a low-privilege guest workspace member to steal decrypted Open
Server-side request forgery in Typebot chatbot builder versions prior to 3.16.0 allows authenticated users to bypass SSR
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB