7.1high
Flowise: Cross-workspace credential IDOR in openai-assistants-vector-store
- Severity
- 7.1high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.52% (higher than 37% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-chm3-vqcf-52rx
Description
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.3, Flowise openai-assistants-vector-store endpoints accept a client-controlled credential parameter and load credentials by id without checking whether that credential belongs to the caller workspace. Route permissions assistants:* only check feature access. The controller passes req.query.credential straight to the service, and the service uses findOneBy({ id: credentialId }), decrypts the credential, and calls OpenAI APIs without a workspaceId check. If an attacker knows another workspace credentialId, the attacker can use that workspace OpenAI key, read, modify, or delete victim vector stores and files, cause billing impact on the victim OpenAI account, and violate multi-tenant boundaries. This issue is fixed in version 3.1.3.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| FlowiseAI Flowise | < 3.1.3, before 3.1.3 | CVE List, NVD |
| flowise (npm) | before 3.1.3 | GitHub Advisory Database |
All scores
| GitHub_M | 7.1high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:H/SA:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:H/SA:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.3, Flowise openai-assistants-vector-store endpoints accept a client-controlled credential parameter and load credentials by id without checking whether that credential belongs to the caller workspace. Route permissions assistants:* only check feature access. The controller passes req.query.credential straight to the service, and the service uses findOneBy({ id: credentialId }), decrypts the credential, and calls OpenAI APIs without a workspaceId check. If an attacker knows another workspace credentialId, the attacker can use that workspace OpenAI key, read, modify, or delete victim vector stores and files, cause billing impact on the victim OpenAI account, and violate multi-tenant boundaries. This issue is fixed in version 3.1.3.
GitHub Advisory Database
Summary
These endpoints accept a client-controlled credential parameter. The server loads credentials by id and uses them directly, without checking whether that credential belongs to the caller’s workspace. If an attacker knows another workspace’s credentialId, they can use that workspace’s OpenAI key.
Details
Route permissions (assistants:*) only check feature access. They do not check credential ownership. The controller passes req.query.credential straight to the service. The service does findOneBy({ id: credentialId }), decrypts the credential, and calls OpenAI APIs. There is no workspaceId check in this flow, so this is an IDOR.
Impact
- Cross-workspace unauthorized use of stored OpenAI keys.
- Unauthorized read/modify/delete of victim vector stores and files.
- Direct billing impact on victim OpenAI account.
- Multi-tenant boundary violation with practical exploitability.
Reproduction steps
- Set up two workspaces: A (attacker) and B (victim), each with an OpenAI credential.
- Log in as a user in workspace A (with assistants-related permissions).
- Call
/api/v1/openai-assistants-vector-storeand setcredentialto B’s credential ID. - Example:
GET /api/v1/openai-assistants-vector-store?credential=<B_credentialId>. - If responses/actions are executed using B’s credential context, the issue is confirmed.
NVD (es)
Flowise es una interfaz de usuario de arrastrar y soltar para construir un flujo de modelo de lenguaje grande personalizado. Antes de la versión 3.1.3, los endpoints openai-assistants-vector-store de Flowise aceptaban un parámetro de credencial controlado por el cliente y cargaban las credenciales por ID sin verificar si esa credencial pertenecía al espacio de trabajo del llamador. Los permisos de ruta assistants:* solo verifican el acceso a la función. El controlador pasa req.query.credential directamente al servicio, y el servicio utiliza findOneBy({ id: credentialId }), descifra la credencial y llama a las API de OpenAI sin una verificación de workspaceId. Si un atacante conoce el credentialId de otro espacio de trabajo, el atacante puede usar esa clave de OpenAI del espacio de trabajo, leer, modificar o eliminar los almacenes de vectores y archivos de la víctima, causar un impacto en la facturación de la cuenta de OpenAI de la víctima y violar los límites de multi-inquilino. Este problema se solucionó en la versión 3.1.3.
References
| https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-chm3-vqcf-52rx | exploit, vendor-advisory, web | |
| https://github.com/FlowiseAI/Flowise/pull/6170 | issue-tracking, patch, web | |
| https://github.com/FlowiseAI/Flowise/commit/d81483b70c997ddf981acc9c49fbd9a02fa345cd | patch, web | |
| https://github.com/FlowiseAI/Flowise/releases/tag/flowise@3.1.3 | release-notes, web | |
| https://github.com/FlowiseAI/Flowise | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-70472 changed 2026-08-05 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-chm3-vqcf-52rx changed 2026-08-04 | CC-BY-4.0 |
| NVD | CVE-2026-70472 changed 2026-10-24 | Public domain |