Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-69286— RAGFlow has Predictable Token Generation Leading to Authentication Bypass Vulnerability

Quick assessment

Affected
infiniflow ragflow
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

RAGFlow是InfiniFlow开源的一个基于深度文档理解的开源 RAG 引擎。 RAGFlow 0.22.0之前版本存在安全漏洞,该漏洞源于API密钥和beta令牌生成过程中使用不安全的密钥生成算法,可能导致令牌相互派生和账户完全控制。

AI Predicted 8.1 Difficulty: Easy EPSS 0.80% · P56

Possible ATT&CK Techniques 1 AI

T1528 · Steal Application Access Token
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-69286

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
RAGFlow has Predictable Token Generation Leading to Authentication Bypass Vulnerability
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
Source: CVE Program / CVE List V5
Vulnerability Type
可预测问题
Source: CVE Program / CVE List V5
Vulnerability Title
RAGFlow 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
RAGFlow是InfiniFlow开源的一个基于深度文档理解的开源 RAG 引擎。 RAGFlow 0.22.0之前版本存在安全漏洞,该漏洞源于API密钥和beta令牌生成过程中使用不安全的密钥生成算法,可能导致令牌相互派生和账户完全控制。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
infiniflow ragflow < 0.22.0 -

II. Public POCs for CVE-2025-69286

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-69286

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-69286 (1)

Vendor Advisories for CVE-2025-69286 (1)

Other References for CVE-2025-69286 (3)

IV. Related Vulnerabilities