Vulnerability · Published Nov 3, 2026 · Assigned by VulDB
CVE-2026-121585InfiniFlow RAGFlow Text To SQL Retrieval sql.go RunSQL authorization
Medium 4.3
In plain English
A medium-severity authorization bypass via user-controlled key in RAGFlow from InfiniFlow. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities).
Official description
A security flaw has been discovered in InfiniFlow RAGFlow up to 0.27.2/1.0.0-rc2. This impacts the function RunSQL of the file internal/engine/infinity/sql.go of the component Text To SQL Retrieval. The manipulation of the argument tableName/kbIDs results in authorization bypass. The attack may be performed from remote. The exploit has been released to the public and may be used for attacks.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| InfiniFlow | RAGFlow | 0.27.00.27.10.27.21.0.0-rc11.0.0-rc2 |
Weakness: CWE-639, CWE-285 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:C
References
- VDB-430429 | InfiniFlow RAGFlow Text To SQL Retrieval sql.go RunSQL authorization vdb-entry, technical-description
- VDB-430429 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- CVE-2026-121585 | CVE Analysis and Report third-party-advisory
- Submit #1020561 | InfiniFlow RAGFlow 1.0.0-rc1 Authorization Bypass third-party-advisory
- https://github.com/infiniflow/ragflow/issues/15123 broken-link, issue-tracking
- https://github.com/infiniflow/ragflow/pull/15124 issue-tracking, patch
- https://github.com/ZSH402/RAGFlow-Cross-Tenant-Read exploit
- https://github.com/infiniflow/ragflow/ product