/

CVE-2026-67622

Severity:

CRITICAL RISK

(9.9)

IDOR (CWE-639) in Flowise OpenAI Assistants Integration

CVE-2026-67622

Analyzed

Vulnerability type

Category:

Insecure Direct Object Reference

CWE:

CWE-639

Impact:

Cross-Workspace Data Access and Unauthorized Resource Modification

Severity:

CRITICAL RISK

(9.9)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Flowise contains an insecure direct object reference in its OpenAI Assistants integration, where authenticated requests can reference credentials from other workspaces by supplying an arbitrary credential UUID. If an attacker can access the affected Assistants endpoints, the missing workspace-ownership check may expose assistant metadata, file and vector store listings, and permit uploads into victim workspaces.

Affected context

The vulnerability occurs in Flowise deployments using the OpenAI Assistants integration when credential lookup accepts a caller-supplied UUID without confirming that the credential belongs to the caller's workspace. The affected endpoints may permit cross-workspace enumeration and resource operations when authentication is present but workspace-scoped authorization is not enforced.

Exploit preconditions

  • Attack surface: Authenticated OpenAI Assistants integration endpoints
  • Required access: A valid authenticated Flowise account or session
  • Trigger point: Supplying a credential UUID associated with another workspace
  • Why exploitation is possible: Credential resolution does not consistently verify workspace ownership before returning or using the referenced resource

Why this happens

The underlying bug is an object-level authorization failure. The application treats a client-provided credential identifier as sufficient authority to access the referenced object, rather than enforcing a relationship between the authenticated principal, the credential, and its workspace. This behavior maps to CWE-639: Authorization Bypass Through User-Controlled Key, commonly known as insecure direct object reference.

Potential impact

  • Attackers may enumerate assistant metadata across workspaces
  • Sensitive file and vector store listings could be exposed
  • Files could be uploaded into another workspace
  • OpenAI integration credentials or connected resources may be abused
  • Workspace confidentiality and integrity could be compromised
  • Follow-on data exposure or resource manipulation may occur

General mitigation guidance

Mitigation generally focuses on enforcing authorization at every object access and reducing trust in client-supplied identifiers.

Common defensive patterns include:

  • Apply server-side workspace and tenant ownership checks before reading or modifying any credential or assistant resource
  • Resolve authorization from the authenticated principal and server-maintained relationships rather than request parameters alone
  • Use centralized, deny-by-default authorization middleware for object-level access decisions
  • Return indistinguishable responses for unauthorized and nonexistent objects where appropriate
  • Limit credential permissions and isolate integration resources according to least privilege
  • Add regression tests covering cross-workspace reads, listings, uploads, and mutations

How teams detect issues like this

Organizations can identify similar authorization weaknesses through:

  • Static analysis and code review searches for database lookups driven directly by request-provided UUIDs
  • Review signals showing object retrieval without an adjacent tenant, workspace, owner, or role check
  • Integration tests that replay valid object requests across separate workspaces
  • API policy enforcement requiring explicit resource-scope validation on every read and write operation
  • Monitoring for repeated access attempts involving identifiers outside the authenticated workspace

Automated security review tools may help flag direct object references, but authorization tests should validate actual tenant isolation.

Sources

SourceLink
flowiseai.comflowiseai.com/sunset
github.comgithub.com/Caycon/cve-advisories/blob/main/2026/Flowise/CVE-2026-67622.md
vulncheck.comvulncheck.com/advisories/flowise-idor-in-openai-assistants-integration

Frequently asked

questions

Yes. It can be exercised through affected application endpoints when they are reachable by an authenticated user, subject to deployment exposure and endpoint access controls.

The attacker generally needs a valid authenticated Flowise account or session and the ability to send requests to the OpenAI Assistants integration endpoints. They do not necessarily need membership in the victim workspace.

Enforce server-side, workspace-scoped authorization before every credential, assistant, file, and vector store operation. Client-supplied UUIDs should identify a candidate object, not grant access to it.

Use centralized object-level authorization, maintain explicit tenant ownership relationships, apply least privilege, and include cross-tenant access tests in code review and continuous integration workflows.

Find out what's already
exploitable in your codebase.