{"id":"CVE-2026-39968","published":"2026-05-22T18:26:55Z","modified":"2026-05-26T13:08:58Z","title":"TypeBot: Cross-Workspace Credential Theft via Bot-Engine Preview Endpoint","vendor":"baptisteArno","product":"typebot.io","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00437,"percentile":0.29867,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"},{"id":"CWE-522","name":"Insufficiently Protected Credentials"},{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://github.com/baptisteArno/typebot.io/security/advisories/GHSA-cq66-9cwr-x8jr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/baptisteArno/typebot.io/commit/d96f572e6099c5f622c05ba7b8634e6477dcf052","tags":["x_refsource_MISC"]},{"url":"https://github.com/baptisteArno/typebot.io/releases/tag/v3.16.0","tags":["x_refsource_MISC"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":5.97},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"baptistearno","affectedVersions":[{"vendor":"baptisteArno","product":"typebot.io","versions":["< 3.16.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-26T13:08:55.483789Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-31481","exploited":false,"provenance":"source"}}