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.
References
https://github.com/infiniflow/ragflow/security/advisories/GHSA-9j5g-g4xm-57w7
https://github.com/infiniflow/ragflow/security/advisories/GHSA-9j5g-g4xm-57w7
CVSS impact metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
9.8 · Critical
Information
Source identifier
Vulnerability status
Analyzed
Published
2025-12-31T22:15:49.280Z
2 weeks agoLast modified
2026-01-06T16:47:58.753Z
1 week ago