Skip to main content
VulnerabilityPublished Updated

CVE-2024-12880: infiniflow/ragflow · Insecure Direct Object Reference

Affects infiniflow/ragflowSource CVE Database V5

0

Not known to be exploited · CVSS 8.1 High.

Data as of 26 Oct 2026, 15:59 UTC

CVSS 3.0 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 52% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Mar 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

AI-suggested

  1. Immediately implement strict tenant ID validation on all API endpoints to ensure users can only access tokens and data for tenants they are authorized for.
  2. Enforce robust access control checks server-side, independent of client-supplied tenant identifiers.
  3. Monitor and audit API token usage and access patterns to detect anomalous cross-tenant access attempts.
  4. Isolate tenant data and tokens in separate storage or namespaces to minimize risk of unauthorized access.
  5. If possible, restrict multi-tenant access privileges to only those users who absolutely require it, reducing the attack surface.
  6. Apply network-level segmentation and zero-trust principles to limit lateral movement between tenant environments.
  7. Stay alert for vendor patches or updates addressing this vulnerability and apply them promptly once available.
  8. Educate developers and security teams on secure multi-tenant design principles to prevent similar flaws.
  9. Consider implementing multi-factor authentication and token expiration policies to limit token misuse.
  10. Conduct penetration testing focused on tenant isolation to proactively identify weaknesses.

Description

A vulnerability in infiniflow/ragflow version RAGFlow-0.13.0 allows for partial account takeover via insecure data querying. The issue arises from the way tenant IDs are handled in the application. If a user has access to multiple tenants, they can manipulate their tenant access to query and access API tokens of other tenants. This vulnerability affects the following endpoints: /v1/system/token_list, /v1/system/new_token, /v1/api/token_list, /v1/api/new_token, and /v1/api/rm. An attacker can exploit this to access other tenants' API tokens, perform actions on behalf of other tenants, and access their data.

References

Community reviews

Loading reviews…