CVE-2026-39966
JSON

6.5medium

TypeBot: Async filter() bypasses authorization, allowing IDOR in getLinkedTypebots and leaking cross-workspace bot definitions

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.26% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

TypeBot is a chatbot builder tool. In versions 3.15.2, the getLinkedTypebots API endpoint returns full bot definitions to any authenticated user who references a target bot ID in a Typebot Link block, regardless of workspace ownership, leading to IDOR. The authorization check uses Array.filter() with an async callback — since filter() is synchronous, the callback always returns a truthy Promise, so the access control predicate is never actually evaluated. Any authenticated Typebot user can read the full definition of any other workspace's private bots, including: all conversation blocks and logic flow, variable values embedded in the bot (credentials, API keys, PII), webhook URLs and integration configurations. This issue has been fixed in version 3.16.0.

Affected

Product or packageVersionsReported by
baptisteArno typebot.io< 3.16.0CVE List

Classification

CWE-863

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

TypeBot is a chatbot builder tool. In versions 3.15.2, the getLinkedTypebots API endpoint returns full bot definitions to any authenticated user who references a target bot ID in a Typebot Link block, regardless of workspace ownership, leading to IDOR. The authorization check uses Array.filter() with an async callback — since filter() is synchronous, the callback always returns a truthy Promise, so the access control predicate is never actually evaluated. Any authenticated Typebot user can read the full definition of any other workspace's private bots, including: all conversation blocks and logic flow, variable values embedded in the bot (credentials, API keys, PII), webhook URLs and integration configurations. This issue has been fixed in version 3.16.0.

NVD (es)

TypeBot es una herramienta de creación de chatbots. En las versiones 3.15.2, el endpoint de la API getLinkedTypebots devuelve definiciones completas de bots a cualquier usuario autenticado que referencia un ID de bot objetivo en un bloque Typebot Link, independientemente de la propiedad del espacio de trabajo, lo que lleva a IDOR. La comprobación de autorización utiliza Array.filter() con una devolución de llamada asíncrona - dado que filter() es síncrono, la devolución de llamada siempre devuelve una Promise verdadera, por lo que el predicado de control de acceso nunca se evalúa realmente. Cualquier usuario autenticado de Typebot puede leer la definición completa de los bots privados de cualquier otro espacio de trabajo, incluyendo: todos los bloques de conversación y el flujo lógico, valores de variables incrustados en el bot (credenciales, claves de API, PII), URL de webhook y configuraciones de integración. Este problema ha sido solucionado en la versión 3.16.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-39966 changed 2026-05-22CVE Terms of Use
NVDCVE-2026-39966 changed 2026-07-23Public domain