Vulnerabilities

CVE-2026-39968

High 7.1 CVSS 3.1

Description

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.

Description as published by the source, in English.

Key facts

Published
2026-05-22
Last modified
2026-07-23
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Scored by
security-advisories@github.com
Probability of exploitation
0.3 % higher than 19 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
baptisteArno typebot.io < 3.16.0 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1014: Rootkit stealth
  • T1021: Remote Services lateral-movement
  • T1021.002: SMB/Windows Admin Shares lateral-movement
  • T1027.009: Embedded Payloads stealth
  • T1037: Boot or Logon Initialization Scripts persistence, privilege-escalation
  • T1078: Valid Accounts stealth, persistence, privilege-escalation, initial-access
  • T1080: Taint Shared Content lateral-movement
  • T1110.004: Credential Stuffing credential-access
  • T1114.002: Remote Email Collection collection
  • T1133: External Remote Services persistence, initial-access
  • T1505.005: Terminal Services DLL persistence
  • T1542.003: Bootkit stealth, persistence
  • T1543: Create or Modify System Process persistence, privilege-escalation
  • T1543.001: Launch Agent persistence, privilege-escalation
  • T1543.003: Windows Service persistence, privilege-escalation
  • T1543.004: Launch Daemon persistence, privilege-escalation
  • T1546.001: Change Default File Association privilege-escalation, persistence
  • T1546.004: Unix Shell Configuration Modification privilege-escalation, persistence
  • T1546.008: Accessibility Features privilege-escalation, persistence
  • T1546.016: Installer Packages privilege-escalation, persistence

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities