CVE-2026-48766

TypeBot vulnerable to OpenAI API key exfiltration in listModels via attacker-controlled baseUrl

Published Aug 11, 2026 CVSS 3.1 · 7.6 High EPSS < 1% KEV · Not listed
Description
TypeBot is a chatbot builder tool. Versions prior to 3.17.0 allow a low-privilege guest member of a workspace to exfiltrate stored OpenAI-compatible API keys by invoking the OpenAI model-listing helper with an attacker-controlled `baseUrl`. The vulnerable path decrypts the selected workspace credential, creates an OpenAI client with the secret in both `apiKey` and the explicit `api-key` header, and then sends the outbound request to the caller-supplied URL. Because the permission check accepts any readable workspace member and `listCredentials` reveals credential identifiers to guests, a guest can force the server to deliver the workspace secret to attacker infrastructure. Version 3.17.0 patches the issue.

Analysis

AI-generated

Technical impact

The flaw allows a low-privilege guest member of a TypeBot workspace to cause the server to send the workspace’s stored OpenAI-compatible API key to a URL supplied by an attacker. By quenching the listModels helper with a malicious baseUrl, the server decrypts the credential, constructs an OpenAI client that embeds the secret in both the apiKey field and the api-key header, and forwards the outbound request. This results in direct exfiltration of a secret that should remain confidential. The weakness is a classic information disclosure flaw (CWE‑200).

Affected Systems

TypeBot.io TypeBot versions earlier than 3.17.0 are affected. Any workspace with a guest member who can view credentials and invoke helper functions is susceptible. The vulnerability exists regardless of the workspace’s caller, as long as the account is a readable guest. Newer releases (3.17.0 and later) have applied the patch.

Risk and Exploitability

The CVSS score of 7.6 indicates high severity and the EPSS score of < 1 % suggests the vulnerability is unlikely to see widespread exploitation at present. The vulnerability is not listed in CISA KEV. An attacker only needs a low‑privilege guest account and the ability to supply a baseUrl, conditions that are easily fulfilled within a compromised or loosely controlled workspace. The absence of a check against outbound URLs makes the vulnerability straightforward to abuse once the conditions are met.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade TypeBot to v3.17.0 or later immediately.
  • Reduce or remove guest workspace members who do not need read access to credentials.
  • Apply outbound network controls to block calls to untrusted URLs and to the OpenAI API endpoint unless explicitly permitted.

Generated by OpenCVE AI on August 12, 2026 at 21:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Baptistearno
Baptistearno typebot.io
Vendors & Products Baptistearno
Baptistearno typebot.io
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description TypeBot is a chatbot builder tool. Versions prior to 3.17.0 allow a low-privilege guest member of a workspace to exfiltrate stored OpenAI-compatible API keys by invoking the OpenAI model-listing helper with an attacker-controlled `baseUrl`. The vulnerable path decrypts the selected workspace credential, creates an OpenAI client with the secret in both `apiKey` and the explicit `api-key` header, and then sends the outbound request to the caller-supplied URL. Because the permission check accepts any readable workspace member and `listCredentials` reveals credential identifiers to guests, a guest can force the server to deliver the workspace secret to attacker infrastructure. Version 3.17.0 patches the issue.
Title TypeBot vulnerable to OpenAI API key exfiltration in listModels via attacker-controlled baseUrl
Weaknesses CWE-200
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

Sources

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