CVE-2026-39968

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

No configuration.

History

26 May 2026, 14:16

Type Values Removed Values Added
References () https://github.com/baptisteArno/typebot.io/security/advisories/GHSA-cq66-9cwr-x8jr - () https://github.com/baptisteArno/typebot.io/security/advisories/GHSA-cq66-9cwr-x8jr -

22 May 2026, 19:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-22 19:17

Updated : 2026-05-26 14:16


NVD link : CVE-2026-39968

Mitre link : CVE-2026-39968

CVE.ORG link : CVE-2026-39968


JSON object : View

Products Affected

No product.

CWE
CWE-284

Improper Access Control

CWE-522

Insufficiently Protected Credentials

CWE-639

Authorization Bypass Through User-Controlled Key