{"id":"CVE-2024-12880","summary":"Partial Account Takeover due to Insecure Data Querying in infiniflow/ragflow","details":"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.","modified":"2026-08-12T03:51:08.965833393Z","published":"2025-03-20T10:09:37.911Z","database_specific":{"cna_assigner":"@huntr_ai","cwe_ids":["CWE-639"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12880.json"},"references":[{"type":"WEB","url":"https://huntr.com/bounties/c41c7eaa-554a-408c-96be-9dba56113970"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12880.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12880"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/infiniflow/ragflow","events":[{"introduced":"1d0a5606b2cb39962ca4ec0e38fcd59faeafee37"},{"last_affected":"1d0a5606b2cb39962ca4ec0e38fcd59faeafee37"}],"database_specific":{"extracted_events":[{"introduced":"0.13.0"},{"last_affected":"0.13.0"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:infiniflow:ragflow:0.13.0:*:*:*:*:*:*:*"}}],"versions":["0.13.0","v0.13.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-12880.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"}]}