CVE-2026-70472
JSON

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 packageVersionsReported by
FlowiseAI Flowise< 3.1.3, before 3.1.3CVE List, NVD
flowise (npm)before 3.1.3GitHub Advisory Database

All scores

GitHub_M7.1high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:H/SA:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:H/SA:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-285CWE-863

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

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

  1. Set up two workspaces: A (attacker) and B (victim), each with an OpenAI credential.
  2. Log in as a user in workspace A (with assistants-related permissions).
  3. Call /api/v1/openai-assistants-vector-store and set credential to B’s credential ID.
  4. Example: GET /api/v1/openai-assistants-vector-store?credential=<B_credentialId>.
  5. 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

Sources

SourceRecordLicence
CVE ListCVE-2026-70472 changed 2026-08-05CVE Terms of Use
GitHub Advisory DatabaseGHSA-chm3-vqcf-52rx changed 2026-08-04CC-BY-4.0
NVDCVE-2026-70472 changed 2026-10-24Public domain