Vulnerability in Infiniflow Ragflow
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.008 (56.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 57th percentile — 56.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: +0.000
Affected products
- Infiniflow Ragflow — versions < 0.22.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/infiniflow/ragflow/security/advisories/GHSA-9j5g-g4xm-57w7 (Exploit, Vendor Advisory)
- github.com/infiniflow/ragflow/commit/a3bb4aadcc3494fb27f2a9933b4c46df8eb532e6 (Patch)
- github.com/infiniflow/ragflow/blob/v0.20.5/api/apps/system_app.py (Product)
- github.com/infiniflow/ragflow/blob/v0.20.5/api/utils/__init__.py (Product)
- github.com/infiniflow/ragflow/blob/v0.20.5/api/utils/api_utils.py (Product)
Frequently asked questions
- What is CVE-2025-69286?
- CVE-2025-69286 is a critical-severity vulnerability in Infiniflow Ragflow, classified under CWE-340. CVSS score: 9.8/10. Published 2025-12-31.
- How severe is CVE-2025-69286?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2025-69286 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.