CVE-2025-69286
CVE-2025-69286 is a critical-severity vulnerability in Infiniflow Ragflow with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-340.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v4: 8.9
- EPSS exploit prediction: 0% (39th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-206092
- Weakness: CWE-340
- Affected product: Infiniflow Ragflow
- Published:
- Last modified:
Description
RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. In versions prior to 0.22.0, the use of an insecure key generation algorithm in the API key and beta (assistant/agent share auth) token generation process allows these tokens to be mutually derivable. Specifically, both tokens are generated using the same `URLSafeTimedSerializer` with predictable inputs, enabling an unauthorized user who obtains the shared assistant/agent URL to derive the personal API key. This grants them full control over the assistant/agent owner's account. Version 0.22.0 fixes the issue.
Frequently asked questions
- What is CVE-2025-69286?
- RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. In versions prior to 0.22.0, the use of an insecure key generation algorithm in the API key and beta (assistant/agent share auth) token generation process allows these tokens to be mutually derivable. Specifically, both tokens are generated using the same `URLSafeTimedSerializer` with predictable inputs, enabling an unauthorized user who obtains the shared assistant/agent URL to derive the personal API key. This grants them full control over the assistant/agent owner's account. Version 0.22.0 fixes the issue.
- How severe is CVE-2025-69286?
- CVE-2025-69286 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2025-69286 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (39th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-69286?
- CVE-2025-69286 affects Infiniflow Ragflow. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-69286?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2025-69286 have an EU (EUVD) identifier?
- Yes. CVE-2025-69286 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-206092.
- When was CVE-2025-69286 published?
- CVE-2025-69286 was published on 2025-12-31 and last updated on 2026-06-17.
References
- https://github.com/infiniflow/ragflow/blob/v0.20.5/api/apps/system_app.py#L214-L215
- https://github.com/infiniflow/ragflow/blob/v0.20.5/api/utils/__init__.py#L343
- https://github.com/infiniflow/ragflow/blob/v0.20.5/api/utils/api_utils.py#L378
- https://github.com/infiniflow/ragflow/commit/a3bb4aadcc3494fb27f2a9933b4c46df8eb532e6
- https://github.com/infiniflow/ragflow/security/advisories/GHSA-9j5g-g4xm-57w7
Affected products (1)
- cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:*
More vulnerabilities in Infiniflow Ragflow
- CVE-2026-24770 — Critical (CVSS 9.8): RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. In version 0.23.1 and possibly earlier versions,…
- CVE-2024-12450 — Critical (CVSS 9.8): In infiniflow/ragflow versions 0.12.0, the `web_crawl` function in `document_app.py` contains multiple vulnerabilities.…
- CVE-2024-12433 — Critical (CVSS 9.8): A vulnerability in infiniflow/ragflow versions v0.12.0 allows for remote code execution. The RPC server in RagFlow uses…
- CVE-2025-27135 — Critical (CVSS 9.8): RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. Versions 0.15.1 and prior are vulnerable to SQL…
- CVE-2025-48187 — Critical (CVSS 9.1): RAGFlow through 0.18.1 allows account takeover because it is possible to conduct successful brute-force attacks against…
- CVE-2026-28797 — High (CVSS 8.8): RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. In versions 0.24.0 and prior, a Server-Side…
All CVEs affecting Infiniflow Ragflow →
Other CWE-340 vulnerabilities
- CVE-2026-5081 — Critical (CVSS 9.1): Apache::Session::Generate::ModUniqueId versions from 1.54 through 1.94 for Perl session ids are…
- CVE-2026-2473 — High (CVSS 7.7): Predictable bucket naming in Vertex AI Experiments in Google Cloud Vertex AI from version 1.21.0 up to (but not…
- CVE-2025-62294 — High (CVSS 7.5): SOPlanning is vulnerable to Predictable Generation of Password Recovery Token. Due to weak mechanism of generating…
- CVE-2024-52299 — High (CVSS 7.5): macro-pdfviewer is a PDF Viewer Macro for XWiki using Mozilla pdf.js. Any user with view right on…
- CVE-2026-9219 — Medium (CVSS 6.5): Setracker2 Android Companion App com.tgelec.setracker versions 3.1.5 and prior have a predictable registration ID…
- CVE-2025-13044 — Medium (CVSS 6.2): IBM Concert 1.0.0 through 2.2.0 creates temporary files with predictable names, which allows local users to overwrite…