# CVE-2026-121585: InfiniFlow RAGFlow Text To SQL Retrieval sql.go RunSQL authorization

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-03T23:30:17.239Z
- Modified: 2026-11-07T04:17:24.420Z
- Weaknesses: CWE-285, CWE-639
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- InfiniFlow RAGFlow: 0.27.0; 0.27.1; 0.27.2; 1.0.0-rc1; 1.0.0-rc2

## Every score

- VulDB: CVSS: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: CVSS: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: CVSS: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: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:C`

## References

- <https://github.com/ZSH402/RAGFlow-Cross-Tenant-Read> (exploit)
- <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/infiniflow/ragflow/> (product)

## Sources

- CVE List: [CVE-2026-121585](https://www.cve.org/CVERecord?id=CVE-2026-121585), CVE Terms of Use, modified 2026-11-07
- NVD: [CVE-2026-121585](https://nvd.nist.gov/vuln/detail/CVE-2026-121585), Public domain, modified 2026-11-07

---

Page: https://cve.day/CVE-2026-121585 · Whole record: https://cve.day/CVE-2026-121585.json · Rebuilt by cve.day 2026-11-25T22:59:48.948Z
