NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · Flowise

CVE-2026-46444: FlowiseAI: Vector Store No Permission Checks

highCVSS 4.0 8.7 · 3.1 8.8GHSA-hmg2-jjjx-jcp2

The Flowise routes under `/api/v1/openai-assistants-vector-store` have no permission checks. Any authenticated user, whatever their role, can create, modify and delete OpenAI vector stores and upload files to them. Versions up to 3.1.1 are affected. Upgrade to 3.1.2.

Published May 14, 2026 · Updated Jun 11, 2026 · Analysis Oct 27, 2026

What an attacker can do

The route file packages/server/src/routes/openai-assistants-vector-store/index.ts wires the controller functions straight to the router. The POST, PUT, DELETE and file-upload routes carry no checkAnyPermission() middleware. The path is not on the auth whitelist, so a caller needs to be authenticated, for example with an API key. After that, the role and assigned permissions are never consulted (CWE-862).

A user with any valid login can therefore create vector stores, upload files with the multer-backed /:id route, update stores and delete stores and files. Those stores sit in the OpenAI account whose credential Flowise uses. The advisory says this can be used to upload malicious files, delete data or exfiltrate stored documents.

In practice, a viewer-level account or a narrowly scoped API key can reach the knowledge store behind OpenAI assistants. Poisoned documents in a vector store feed straight into an assistant's retrieval answers, which is a prompt-injection channel. Deleting a store breaks the assistants that depend on it. The report gives no proof of concept beyond the missing middleware.

Who is affected

The flowise npm package up to and including 3.1.1 is affected. It matters for instances that use OpenAI Assistants with vector stores and that give accounts or API keys to people who should not manage them.

Check the version:

npm ls flowise

For Docker, check the image tag. Check which users and API keys exist in the Flowise settings.

flowise

Ecosystem
npm
Affected
<= 3.1.1
Fixed in
3.1.2
Check
npm ls flowise

How to fix it

Upgrade to flowise 3.1.2:

npm install -g [email protected]

The advisory names no workaround. Until you upgrade, limit who has Flowise accounts and API keys, and block /api/v1/openai-assistants-vector-store at a reverse proxy for users who do not need it. Review your OpenAI vector stores and files for ones you did not create.

How to tell if you were hit

Look in Flowise access logs for POST, PUT and DELETE calls to /api/v1/openai-assistants-vector-store from low-privilege users or API keys. In the OpenAI dashboard, review vector stores and uploaded files for unexpected names, uploads and deletions.

Check assistants for answers that cite documents you did not add.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

FINDING 4: OpenAI Assistants Vector Store - No Auth on CRUD Operations

Severity: HIGH (CVSS ~8.1) Type: CWE-306 (Missing Authentication for Critical Function) File: packages/server/src/routes/openai-assistants-vector-store/index.ts

Description: ALL CRUD endpoints for OpenAI Assistants Vector Store have no authentication middleware AND the route path /api/v1/openai-assistants-vector-store is NOT in WHITELIST_URLS. However, it is also NOT protected by the main auth middleware when accessed via API key — the route requires API key auth (not whitelisted), but NO permission checks exist on any operation.

The real issue is that the routes have no checkAnyPermission() middleware, meaning any authenticated user regardless of role can:

  • Create vector stores
  • Upload files to vector stores
  • Delete vector stores and files
  • Modify any vector store

Evidence:

// No permission middleware on any route
router.post('/', controller.createAssistantVectorStore)          // No permission check
router.put(['/', '/:id'], controller.updateAssistantVectorStore) // No permission check
router.delete(['/', '/:id'], controller.deleteAssistantVectorStore) // No permission check
router.post('/:id', getMulterStorage().array('files'), controller.uploadFilesToAssistantVectorStore) // No permission check

Impact: Any authenticated user can manipulate OpenAI vector stores, upload malicious files, delete data, or exfiltrate stored documents regardless of their assigned permissions.

Credited to Dimpyj1604.

Questions

Which Flowise routes are missing permission checks?

The create, update, delete and file-upload routes of openai-assistants-vector-store. None has checkAnyPermission() middleware, so the user's role is ignored.

Does the caller need to be logged in?

Yes. The path is not whitelisted, so authentication is required, but any authenticated user can use it, whatever their permissions.

Which version fixes the missing authorization?

Flowise 3.1.2. Versions up to and including 3.1.1 are affected.

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 entries