CVE-2026-48765

TypeBot vulnerable to cross-workspace OAuth credential takeover in updateOAuthCredentials via missing object binding

Published Aug 11, 2026 CVSS 3.1 · 9.9 Critical EPSS < 1% KEV · Not listed
Description
TypeBot is a chatbot builder tool. Versions prior to 3.17.0 allow a low-privilege read collaborator to extract a workspace OAuth `credentialsId` from a readable bot configuration and then overwrite that credential through `handleUpdateOAuthCredentials()` by supplying an attacker-controlled writable `workspaceId`. The update path validates only the attacker-supplied workspace and then updates the credential record by global `id` alone, while also rewriting the credential's `workspaceId`. This allows cross-workspace OAuth credential takeover and reassignment. Version 3.17.0 patches the issue.

Analysis

AI-generated

Technical impact

A low‑privilege read collaborator on a TypeBot workspace can read a bot configuration to obtain an OAuth credentialsId and then call handleUpdateOAuthCredentials( ) with an attacker‑specified workspaceId. The endpoint validates only the supplied workspace and updates the credential record globally by its id, also rewritting the credential’s workspaceId. This allows the attacker to overwrite the credential in a different workspace and reassign it, thereby gaining access to that workspace’s OAuth tokens. The vulnerability is a classic example of weak ownership validation (CWE‑639) and can result in the compromise of confidential data and services that use the stolen OAuth credentials.

Affected Systems

The issue affects all releases of TypeBot by baptisteArno before version 3.17.0. Version 3.17.0 incorporates the fix; earlier versions remain vulnerable.

Risk and Exploitability

With a CVSS score of 9.9, this flaw is considered critical. The EPSS score of less than 1% indicates a low probability of exploitation in the wild, and it is not listed in the CISA KEV catalog. The attack requires that the adversary already have read‑access to a workspace, so it is an in‑system privilege escalation rather than a remote exploit. Nevertheless, the potential impact is high, and the lack of robust ownership checks makes it a risky flaw for any TypeBot deployment that employs collaborative workspaces.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade TypeBot to version 3.17.0 or later.
  • If an immediate upgrade is not possible, limit collaborator roles to prevent read access to bot configurations that expose credential IDs and remove the ability to write to OAuth credentials in other workspaces.
  • Audit current workspaces for unauthorized credential assignments and monitor for suspicious activity.

Generated by OpenCVE AI on August 12, 2026 at 20:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Baptistearno
Baptistearno typebot.io
Vendors & Products Baptistearno
Baptistearno typebot.io
Type Values Removed Values Added
Description TypeBot is a chatbot builder tool. Versions prior to 3.17.0 allow a low-privilege read collaborator to extract a workspace OAuth `credentialsId` from a readable bot configuration and then overwrite that credential through `handleUpdateOAuthCredentials()` by supplying an attacker-controlled writable `workspaceId`. The update path validates only the attacker-supplied workspace and then updates the credential record by global `id` alone, while also rewriting the credential's `workspaceId`. This allows cross-workspace OAuth credential takeover and reassignment. Version 3.17.0 patches the issue.
Title TypeBot vulnerable to cross-workspace OAuth credential takeover in updateOAuthCredentials via missing object binding
Weaknesses CWE-639
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L'}

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 12, 2026, 12:53 PM
Reserved
May 22, 2026, 7:39 PM
Status
Deferred
Published
Aug 11, 2026, 9:17 PM
Modified
Oct 23, 2026, 8:10 PM