CVE-2024-12880: infiniflow/ragflow · Insecure Direct Object Reference
Affects infiniflow/ragflowSource CVE Database V5
Not known to be exploited · CVSS 8.1 High.
Data as of 26 Oct 2026, 15:59 UTC
- 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:HExploitation evidence
Disclosed: evidence found.
CVE published 20 Mar 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
- 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.
- Enforce robust access control checks server-side, independent of client-supplied tenant identifiers.
- Monitor and audit API token usage and access patterns to detect anomalous cross-tenant access attempts.
- Isolate tenant data and tokens in separate storage or namespaces to minimize risk of unauthorized access.
- If possible, restrict multi-tenant access privileges to only those users who absolutely require it, reducing the attack surface.
- Apply network-level segmentation and zero-trust principles to limit lateral movement between tenant environments.
- Stay alert for vendor patches or updates addressing this vulnerability and apply them promptly once available.
- Educate developers and security teams on secure multi-tenant design principles to prevent similar flaws.
- Consider implementing multi-factor authentication and token expiration policies to limit token misuse.
- 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.