CVE-2026-121585 Details
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.
An authorization bypass vulnerability has been identified in InfiniFlow RAGFlow versions through 0.27.2/1.0.0-rc2. The issue arises in the RunSQL function within the internal/engine/infinity/sql.go file, specifically in the Text To SQL Retrieval component. The vulnerability allows for cross-tenant data access by manipulating the tableName or kbIDs arguments, enabling unauthorized SQL execution on another tenant's knowledge base. This flaw can be exploited remotely by authenticated users.
Users can update to RAGFlow version 1.0.0-rc3, which includes a fix for this vulnerability by enforcing read-only SQL allowlist checks before executing queries on the Infinity document engine.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 4, 2026CISA-ADP
Assessed Nov 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/infiniflow/ragflow/ | [email protected] | ProductVendor |
| https://github.com/infiniflow/ragflow/issues/15123 | [email protected] | Broken LinkIssue TrackingVendor |
| https://github.com/infiniflow/ragflow/pull/15124 | [email protected] | Issue TrackingVendor |
| https://github.com/ZSH402/RAGFlow-Cross-Tenant-Read | [email protected] | ExploitTechnical Analysis |
| https://vuldb.com/cve/CVE-2026-121585 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/1020561 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/430429 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/430429/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-285 | Improper Authorization | [email protected] |
| CWE-639 | Authorization Bypass Through User-Controlled Key | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| InfiniFlow RAGFlow | <v1.0.0-rc1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 7, 2026 | CVE Modified | CISA-ADP |
| Nov 4, 2026 | New CVE Received | [email protected] |
Volerion