Flowise: Unauthenticated TTS endpoint accepts arbitrary credential IDs , enables API credit abuse via stored credentials
High7.5CVE-2026-41279 · Published Apr 17, 2026 · updated May 5, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| flowise npm | < 3.1.0 | 3.1.0 |
Details and references
### Summary The text-to-speech generation endpoint (`POST /api/v1/text-to-speech/generate`) is whitelisted (no auth) and accepts a `credentialId` directly in the request body. When called without a `chatflowId`, the endpoint uses the provided `credentialId` to decrypt the stored credential (e.g., OpenAI or ElevenLabs API key) and generate speech. ### Root Cause ```typescript // packages/server/src/controllers/text-to-speech/index.ts:58-64 } else { // Use TTS config from request body provider = bodyProvider credentialId = bodyCredentialId // ← attacker-controlled credential ID voice = bodyVoice model = bodyModel } ``` ### Docker Validation `POST /api/v1/text-to-speech/generate` with arbitrary `credentialId` in body: endpoint processes request, sends SSE `tts_start` event, only fails when credential doesn't exist , proves code path runs without authentication. ### Impact - Use victim's API keys (OpenAI, ElevenLabs, Azure, Google) without authorization - Burn API credits on the victim's account - Generate unlimited speech content at victim's expense - Combined with credential ID leak from Finding 2, this is trivially exploitable ### Suggested Fix Remove the TTS endpoint from `WHITELIST_URLS` or validate that the credential belongs to the chatflow being used: ```typescript // Only allow credentialId when it matches the chatflow's TTS configuration if (!chatflowId) { return res.status(401).json({ message: 'Authentication required' }) } ``` --- ## References - `packages/server/src/controllers/text-to-speech/index.ts` lines 10-162 - `packages/server/src/utils/constants.ts` line 41 (whitelist entry) ## Credits - Shinobi Security - https://github.com/shinobisecurity
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-639
- Also known as
- CVE-2026-41279
More Flowise advisories
All Flowise| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Apr 16 | Flowise: resetPassword Authentication Bypass Vulnerability CVE-2026-41276High9.8fixed in 3.1.0 | High9.8 | 3.1.0 |
| Apr 16 | Flowise: Cypher Injection in GraphCypherQAChain CVE-2026-41274Highfixed in 3.1.0 | High | 3.1.0 |
| Apr 16 | Flowise: Password Reset Link Sent Over Unsecured HTTP CVE-2026-41275High7.5fixed in 3.1.0 | High7.5 | 3.1.0 |
| Apr 16 | Flowise: Unauthenticated OAuth 2.0 Access Token Disclosure via Public Chatflow in Flowise CVE-2026-41273High8.2fixed in 3.1.0 | High8.2 | 3.1.0 |
| Apr 16 | Flowise: APIChain Prompt Injection SSRF in GET/POST API Chains CVE-2026-41271High7.1fixed in 3.1.0 | High7.1 | 3.1.0 |
| Apr 16 | Flowise: SSRF Protection Bypass (TOCTOU & Default Insecure) CVE-2026-41272High7.1fixed in 3.1.0 | High7.1 | 3.1.0 |