CVE-2026-41279: Flowise: Unauthenticated TTS endpoint accepts arbitrary credential IDs — enables API credit abuse via stored credentials
In Flowise 3.0.13 and earlier, POST /api/v1/text-to-speech/generate needs no login and takes a credentialId from the request body. An attacker can make the server decrypt a stored OpenAI, ElevenLabs, Azure or Google key and spend the victim's API credit. Upgrade flowise to 3.1.0.
Published Apr 17, 2026 · Updated Apr 24, 2026 · Analysis Oct 29, 2026
What an attacker can do
The text-to-speech route is on the authentication whitelist. In packages/server/src/controllers/text-to-speech/index.ts, when the request has no chatflowId, the controller takes provider, credentialId, voice and model straight from the body. It then decrypts the stored credential with that id and calls the speech provider. The researcher confirmed in Docker that the request starts an SSE tts_start event and fails only when the credential does not exist, which shows the code runs unauthenticated. This is CWE-639, authorization bypass through a user-controlled key.
The attacker does not get the key itself. They get the use of it: unlimited speech generation billed to the victim, which the CVSS vector scores as an availability impact. The attacker needs a valid credential id. The advisory says that combining this with the credential id leak in public chatflows, CVE-2026-41278, makes it trivially exploitable. The cost lands on whoever owns the provider account, and a spend cap or quota exhaustion can also break the victim's own workflows.
Who is affected
The flowise npm package at 3.0.13 and earlier, wherever the API is reachable by untrusted clients and at least one TTS-capable credential is stored. Check the version:
npm ls -g flowiseThe route is /api/v1/text-to-speech/generate, whitelisted in packages/server/src/utils/constants.ts.
flowise
- Ecosystem
- npm
- Affected
- <= 3.0.13
- Fixed in
- 3.1.0
- Check
npm ls flowise
How to fix it
Upgrade to 3.1.0:
npm install -g [email protected]The advisory suggests removing the TTS endpoint from WHITELIST_URLS, or requiring a chatflowId and checking that the credential belongs to that chatflow's TTS configuration. It lists no other workaround. Until you upgrade, block unauthenticated access to that path at your proxy, and set spend limits on provider keys.
How to tell if you were hit
Look for POST requests to /api/v1/text-to-speech/generate without a chatflowId in the body and without a session, especially bursts or sources that are not your users. Check provider billing dashboards (OpenAI, ElevenLabs, Azure, Google) for unexplained speech usage. Failed attempts with unknown credential ids may also show in Flowise logs.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
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
// 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:
// 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.tslines 10-162packages/server/src/utils/constants.tsline 41 (whitelist entry)
Credits
- Shinobi Security - https://github.com/shinobisecurity
Credited to DeathsPirate.
Questions
- Can the attacker read my API key through CVE-2026-41279?
The advisory does not say so. It describes use of the key, which burns API credit, not disclosure of the key.
- How does an attacker get a credentialId?
The advisory points to the leak of credential ids from public chatflow endpoints, tracked as CVE-2026-41278, which makes the attack trivial.
- Does this need a login?
No. The endpoint is on the authentication whitelist. The CVSS 3.1 vector has no privileges and no user interaction.
- Which version fixes it?
Flowise 3.1.0 fixes it. Versions up to and including 3.0.13 are listed as vulnerable.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More Flowise vulnerabilities
All Flowise entriesCVE-2026-73483
Flowise NodeVM sandbox escape via puppeteer allowlist - authenticated RCE and arbitrary file read via Chromium
critical9.4Oct 7, 2026CVE-2026-73487
Flowise Prompt Injection to RCE and SSRF via CSV/Airtable Agent Python Validator Bypass
critical9.0Oct 7, 2026CVE-2026-69250
Flowise: Unauthenticated OAuth2 Refresh Enables Non-Blind SSRF and Secret Exfiltration
high8.5Aug 4, 2026CVE-2026-69251
Flowise RCE via TypeORM DataSource
critical9.0Aug 4, 2026CVE-2026-69252
Flowise: Missing authorization on `/api/v1/files` allows low-privileged API keys to list and delete files across workspaces within the same organization
high7.2Aug 4, 2026CVE-2026-69253
Flowise Sandbox Escape to RCE
critical9.0Aug 4, 2026
