CVE-2026-121585
InfiniFlow RAGFlow Text To SQL Retrieval sql.go RunSQL authorization
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 3, 2026
- Updated
- Nov 3, 2026
- Reserved
- Nov 3, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P | VulDB |
| 3.1 | 4.3 Medium | 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 | VulDB |
| 3.0 | 4.3 Medium | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:C | VulDB |
| 2.0 | 4.0 Medium | AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
RAGFlowInfiniFlow |
|
References
- VDB-430429 | InfiniFlow RAGFlow Text To SQL Retrieval sql.go RunSQL authorizationvdb-entrytechnical-description
- VDB-430429 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- CVE-2026-121585 | CVE Analysis and Reportthird-party-advisory
- Submit #1020561 | InfiniFlow RAGFlow 1.0.0-rc1 Authorization Bypassthird-party-advisory
- https://github.com/infiniflow/ragflow/issues/15123broken-linkissue-tracking
- https://github.com/infiniflow/ragflow/pull/15124issue-trackingpatch
- https://github.com/ZSH402/RAGFlow-Cross-Tenant-Readexploit
- https://github.com/infiniflow/ragflow/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.