CVE-2024-12880 Partial Account Takeover due to Insecure Data Querying in infiniflow/ragflow
Attackers can access other tenants' API tokens and data by manipulating tenant IDs in insecure data querying endpoints.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-12880?
CVE-2024-12880 is a high-severity missing authorization vulnerability in infiniflow/ragflow, published on 20 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-639
Which versions are affected by CVE-2024-12880?
It affects 1 product.
Products include Infiniflow Ragflow.
How do I fix CVE-2024-12880?
No fix has been published for CVE-2024-12880 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2024-12880 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12880 exists.
Other vulnerabilities in infiniflow/ragflow
- CVE-2026-24770 RAGFlow Affected by Zip Slip Remote Code Execution (RCE) in MinerUParser
- CVE-2024-12433 Remote Code Execution in infiniflow/ragflow
- CVE-2025-48187 Auth bypass in RAGFlow
- CVE-2025-69286 RAGFlow has Predictable Token Generation Leading to Authentication Bypass Vulnerability
- CVE-2025-27135 RAGFlow SQL Injection vulnerability
Sources
Also known as GHSA-cwc2-3f9g-phm3.