Description
Typebot is a chatbot builder tool. In versions 3.15.2 and prior, the getResultLogs API endpoint authorizes the caller against the provided typebotId but fetches logs solely by resultId without verifying that the result belongs to the authorized typebot, leading to IDOR. An authenticated attacker can supply their own typebotId alongside any victim's resultId to read execution logs from other workspaces, leaking sensitive data including HTTP response bodies, AI model outputs, and webhook payloads. Every other result-scoped endpoint in the same router properly validates that the resultId belongs to the authorized typebotId. This confirms the missing check is an oversight, not a design choice. This issue has been fixed in version 3.15.2.
Problem types
CWE-639: Authorization Bypass Through User-Controlled Key
Product status
References
github.com/...bot.io/security/advisories/GHSA-c63p-mqx5-75r7
github.com/...ommit/d82b2d47c86ae614a08d4073c669ca64442faff2
github.com/baptisteArno/typebot.io/releases/tag/v3.16.0