CVE-2025-69286

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductInfiniflow Ragflow
PublishedDec 31, 2025
First seenDec 31, 2025
Weakness typeCWE-340CWE-340

How to fix

Update
  • infiniflow ragflow0.22.0 or later

Affected products

ProductAffected versionsFixed in
infiniflow ragflowv < 0.22.00.22.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.