baptisteArno typebot.io
TypeBot vulnerable to OpenAI API key exfiltration in listModels via attacker-controlled baseUrl
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 3.17.0
Fixed in 3.17.0
Mitigation
Upgrade typebot.io to 3.17.0 or later.
References
- Vendor advisory github.com/baptisteArno/typebot.io/security/ad…
- Patch github.com/baptisteArno/typebot.io/pull/2459
- Patch github.com/baptisteArno/typebot.io/commit/7ae4…
1 more
- Release notes github.com/baptisteArno/typebot.io/releases/ta…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.