Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

2368+ Articles
158+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. TypeBot OAuth Credential Takeover via Low-Privilege Collaborator
TypeBot OAuth Credential Takeover via Low-Privilege Collaborator

Critical Security Alert

This vulnerability is actively being exploited. Immediate action is recommended.

SECURITYCRITICALCVE-2026-48765

TypeBot OAuth Credential Takeover via Low-Privilege Collaborator

TypeBot versions before 3.17.0 allow a read-only collaborator to extract and overwrite workspace OAuth credentials, enabling full account takeover.

Dylan H.

Security Team

August 12, 2026
4 min read

Affected Products

  • TypeBot < 3.17.0

Executive Summary

A critical privilege escalation and credential takeover vulnerability has been identified in TypeBot, a popular open-source chatbot builder. Tracked as CVE-2026-48765 with a near-perfect CVSS score of 9.9, the flaw allows a low-privilege read collaborator to extract a workspace's OAuth credentialsId from a readable bot configuration and then overwrite the underlying credential by exploiting an improperly access-controlled API function (handleUpdateOAuthCredentials()).

Organizations and SaaS operators running TypeBot self-hosted instances below version 3.17.0 are at severe risk of complete credential takeover by any user with even minimal collaboration access.


Vulnerability Details

FieldDetail
CVE IDCVE-2026-48765
CVSS Score9.9 (Critical)
Attack VectorNetwork
Authentication RequiredLow (read collaborator role)
Affected ComponenthandleUpdateOAuthCredentials() API handler
Affected VersionsTypeBot < 3.17.0
Vulnerability ClassBroken Access Control / Privilege Escalation

Technical Analysis

The Attack Chain

TypeBot's collaboration model allows workspace owners to invite external users with varying permission levels, including read-only collaborators who are expected to only view bot configurations — not modify them.

The vulnerability exploits a two-stage flaw:

Stage 1 — Credential ID Extraction

A read collaborator can access bot configuration data through their legitimately granted read access. Within this configuration, the OAuth credentialsId — a reference to the workspace's stored OAuth credential — is exposed in plaintext.

Stage 2 — Unauthorized Credential Overwrite

The handleUpdateOAuthCredentials() function, which is responsible for updating OAuth credentials, does not enforce the caller's permission level before processing requests. A read collaborator can call this function directly, supplying the extracted credentialsId alongside attacker-controlled credential data.

The result: the workspace's OAuth credential is silently replaced with one under the attacker's control.

Consequences of Exploitation

After a successful exploit, the attacker's credential is substituted for the legitimate OAuth token. Depending on which OAuth integration the credential belongs to, this can result in:

  • Email account compromise (Gmail, Outlook OAuth integrations)
  • CRM/sales platform access (HubSpot, Salesforce OAuth)
  • Cloud service impersonation (Google Workspace, Microsoft 365)
  • Bot traffic interception — bot conversations routed through attacker-controlled OAuth sessions
  • Persistence — the attacker can continue using the compromised credential even after losing collaborator access, since the underlying OAuth token now belongs to them

The near-perfect CVSS score reflects the low privilege bar required combined with the catastrophic, workspace-wide impact.


Affected Products

ProductAffected Versions
TypeBot (self-hosted)All versions prior to 3.17.0
TypeBot CloudPatched by maintainers

Recommended Actions

Immediate Steps

  1. Upgrade immediately: Update TypeBot to version 3.17.0 or later — this is the only complete fix
  2. Audit collaborator lists: Review all workspace collaborators and remove any untrusted or unnecessary read-level access
  3. Rotate OAuth credentials: For all TypeBot workspaces, revoke and re-authorize any OAuth integrations, as existing credentials may already be compromised
  4. Check OAuth provider logs: Review activity logs for connected OAuth applications (Google, Microsoft, HubSpot, etc.) for unexpected access patterns

Workaround (Pre-patch)

If immediate upgrading is not possible:

  • Remove all external collaborators from workspaces that have OAuth credentials configured
  • Disable OAuth integrations temporarily until the patch can be applied
  • Restrict TypeBot network access to trusted internal networks

Disclosure Timeline

DateEvent
2026-08-11CVE published to NVD
2026-08-12CosmicBytez Labs advisory published
2026-08-12TypeBot 3.17.0 patch available

References

  • NVD Entry: CVE-2026-48765
  • TypeBot GitHub Repository
  • TypeBot Releases
#TypeBot#OAuth#CVE-2026-48765#Privilege Escalation#Credential Takeover#Critical

Related Articles

CVE-2026-28005: Critical Privilege Escalation in Kadence WooCommerce Email Designer

A critical unauthenticated privilege escalation flaw (CVSS 9.8) in Kadence WooCommerce Email Designer <= 1.5.19 allows attackers to gain admin access with no credentials.

5 min read

CVE-2025-10656: WooCommerce Plugin Missing Authorization Allows Unauthenticated Admin Account Creation

A critical missing authorization vulnerability in the Spreadsheet Price Changer for WooCommerce plugin allows unauthenticated attackers to create admin accounts on affected WordPress sites, scoring a near-perfect CVSS 9.8.

4 min read

CVE-2026-41106: M365 Copilot Open Redirect Allows Unauthenticated Privilege Escalation

A critical open redirect vulnerability in Microsoft 365 Copilot rated CVSS 9.3 enables unauthenticated attackers to perform privilege escalation over the...

4 min read
Back to all Security Alerts