CVE-2026-121585 InfiniFlow RAGFlow Text To SQL Retrieval sql.go RunSQL authorization
MediumCVSS 5.3
EPSS 0.24%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| infiniflow ragflow | = 0.27.0; = 0.27.1; = 0.27.2; = 1.0.0-rc1 +1 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| infiniflow ragflow | = 0.27.0 | No fix listed |
| infiniflow ragflow | = 0.27.1 | No fix listed |
| infiniflow ragflow | = 0.27.2 | No fix listed |
| infiniflow ragflow | = 1.0.0-rc1 | No fix listed |
| infiniflow ragflow | = 1.0.0-rc2 | No fix listed |
References
- VDB-430429 | InfiniFlow RAGFlow Text To SQL Retrieval sql.go RunSQL authorization technical-description vdb-entry
- VDB-430429 | CTI Indicators (IOB, IOC, IOA) permissions-required signature
- CVE-2026-121585 | CVE Analysis and Report third-party-advisory
- Submit #1020561 | InfiniFlow RAGFlow 1.0.0-rc1 Authorization Bypass third-party-advisory
- github.com broken-link issue-tracking
- github.com issue-tracking patch
- github.com exploit
- github.com product
- ENISA EUVD EUVD-2026-116597 third-party-advisory