GHSA-chm3-vqcf-52rx

Suggest an improvement
Source
https://github.com/advisories/GHSA-chm3-vqcf-52rx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-chm3-vqcf-52rx/GHSA-chm3-vqcf-52rx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-chm3-vqcf-52rx
Aliases
  • CVE-2026-70472
Published
2026-08-04T17:51:48Z
Modified
2026-08-04T18:00:18.055673083Z
Severity
  • 7.1 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Flowise: Cross-workspace credential IDOR in openai-assistants-vector-store
Details

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.
Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-285",
        "CWE-863"
    ],
    "github_reviewed_at": "2026-08-04T17:51:48Z",
    "github_reviewed": true,
    "severity": "HIGH"
}
References

Affected packages

npm / flowise

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-chm3-vqcf-52rx/GHSA-chm3-vqcf-52rx.json"
last_known_affected_version_range
"<= 3.1.2"