CVE-2026-121585
5.3medium
InfiniFlow RAGFlow Text To SQL Retrieval sql.go RunSQL authorization
- Severity
- 5.3medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.32% (higher than 27% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
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
| Product or package | Versions | Reported by |
|---|---|---|
| InfiniFlow RAGFlow | 0.27.0, 0.27.1, 0.27.2, 1.0.0-rc1, 1.0.0-rc2 | CVE List |
All scores
| VulDB | 5.3medium CVSS:4.0 | 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 | 4.3medium CVSS:3.1 | 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 | 4.3medium CVSS:3.0 | 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 | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:C |
Classification
References
| https://vuldb.com/vuln/430429 | technical-description, vdb-entry | |
| https://vuldb.com/vuln/430429/cti | permissions-required, signature | |
| https://vuldb.com/cve/CVE-2026-121585 | third-party-advisory | |
| https://vuldb.com/submit/1020561 | 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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-121585 changed 2026-11-07 | CVE Terms of Use |
| NVD | CVE-2026-121585 changed 2026-11-07 | Public domain |