CVE-2026-121585InfiniFlow RAGFlow Text To SQL Retrieval sql.go RunSQL authorization
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- InfiniFlow RAGFlow: affected: 0.27.0, 0.27.1, 0.27.2, 1.0.0-rc1, 1.0.0-rc2
Vendor advisories:
References
- https://vuldb.com/vuln/430429
- https://vuldb.com/vuln/430429/cti
- https://vuldb.com/cve/CVE-2026-121585
- https://vuldb.com/submit/1020561
- https://github.com/infiniflow/ragflow/issues/15123
- https://github.com/infiniflow/ragflow/pull/15124
- https://github.com/ZSH402/RAGFlow-Cross-Tenant-Read
- https://github.com/infiniflow/ragflow/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.