Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-12880: CWE-639 Authorization Bypass Through User-Controlled Key in infiniflow infiniflow/ragflow

0
High
VulnerabilityCVE-2024-12880cvecve-2024-12880cwe-639
Published: Thu Mar 20 2025 (03/20/2025, 10:09:37 UTC)
Source: CVE Database V5
Vendor/Project: infiniflow
Product: infiniflow/ragflow

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.

AI-Powered Analysis

AILast updated: 10/15/2025, 13:24:00 UTC

Technical Analysis

CVE-2024-12880 is an authorization bypass vulnerability classified under CWE-639 (Authorization Bypass Through User-Controlled Key) affecting infiniflow/ragflow version RAGFlow-0.13.0. The root cause lies in insecure handling of tenant IDs within the application’s API endpoints, specifically /v1/system/token_list, /v1/system/new_token, /v1/api/token_list, /v1/api/new_token, and /v1/api/rm. Users who have legitimate access to multiple tenants can manipulate tenant identifiers in API requests to access API tokens belonging to other tenants. This flaw allows attackers to partially take over accounts by obtaining API tokens that grant access to tenant-specific resources and data. The vulnerability does not require user interaction but does require some level of privileges (PR:L), meaning the attacker must already have access to at least one tenant account. The CVSS v3.0 score is 8.1 (high severity) with vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H, indicating network exploitability with low attack complexity, no user interaction, and significant confidentiality and availability impacts but no integrity impact. No patches or known exploits are currently reported, but the vulnerability poses a serious risk in multi-tenant environments where tenant isolation is critical. Attackers exploiting this vulnerability can access sensitive API tokens, perform unauthorized actions on behalf of other tenants, and potentially disrupt service availability. The issue highlights the importance of strict tenant ID validation and access control enforcement in multi-tenant SaaS or cloud platforms.

Potential Impact

For European organizations, this vulnerability can lead to unauthorized access to sensitive API tokens across tenant boundaries, resulting in partial account takeover and unauthorized actions within affected applications. Confidentiality is severely impacted as attackers can access data belonging to other tenants, potentially exposing sensitive or regulated information. Availability is also affected since attackers can perform disruptive actions using stolen tokens. This is particularly critical for organizations operating in regulated sectors such as finance, healthcare, and government, where data isolation and tenant separation are mandatory. Multi-tenant cloud service providers and SaaS platforms using infiniflow/ragflow are at risk of cross-tenant data breaches, which could lead to compliance violations under GDPR and other data protection laws. The vulnerability could also damage trust and lead to financial and reputational losses. Given the network-based exploitability and low complexity, attackers with limited privileges can escalate their access, increasing the threat surface for European enterprises relying on this software.

Mitigation Recommendations

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.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
@huntr_ai
Date Reserved
2024-12-20T22:05:14.540Z
Cvss Version
3.0
State
PUBLISHED

Threat ID: 68ef9b25178f764e1f470b10

Added to database: 10/15/2025, 1:01:25 PM

Last enriched: 10/15/2025, 1:24:00 PM

Last updated: 10/16/2025, 11:53:13 AM

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats