CVE-2025-69286CWE-340

CVE-2025-69286

Critical · published January 1, 2026

CVSS v3.1
9.8
EPSS
1%
Percentile
56.0
In the wild
Unconfirmed
What it is

⚡ A predictable key generation algorithm in RAGFlow could hand over the keys to your kingdom! 🤯 Imagine a restaurant where the chef's secret sauce recipe is written on a public menu—anyone can just take it and whip up the special dish! In this case, an unauthorized user can derive your personal API key from predictable tokens, potentially taking full control of your assistant/agent account. If an attacker gets hold of your shared assistant/agent URL, they could easily generate your API key, leading to a complete takeover of your account! This means unauthorized access to sensitive information and functionality—absolutely devastating!

Put simply

Imagine a restaurant where the chef's secret sauce recipe is written on a public menu—anyone can just take it and whip up the special dish! In this case, an unauthorized user can derive your personal API key from predictable tokens, potentially taking full control of your assistant/agent account. Versions of RAGFlow prior to 0.22.0 use the same `URLSafeTimedSerializer` with predictable inputs for generating both API keys and tokens, allowing attackers to derive your personal API key from the shared token.

What to do

If an attacker gets hold of your shared assistant/agent URL, they could easily generate your API key, leading to a complete takeover of your account! This means unauthorized access to sensitive information and functionality—absolutely devastating! Upgrade to RAGFlow version 0.22.0 immediately to patch this vulnerability! Additionally, review your API key management and access controls to minimize exposure to unauthorized users. You've got this! Fixing this is simple—just update your version and you'll be back on track! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00797 · 56.0th percentile
Weakness
CWE-340 · Generation of Predictable Numbers or Identifiers
Published
2026-01-01T03:15Z
Affected products (1)
ProductVersionsFixed in
infiniflow/ragflow< 0.22.00.22.0
References (6)
EPSS history
Timeline
  • 31 DEC 21:52Z
    RAGFlow has Predictable Token Generation Leading to Authentication Bypass Vulnerability
    cvelistv5