Authorization bypass in InfiniFlow RAGFlow Text To SQL Retrieval
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-285.
Summary
InfiniFlow RAGFlow versions 0.27.0, 0.27.1, 0.27.2, 1.0.0-rc1 and 1.0.0-rc2 are affected. Manipulating the tableName or kbIDs argument of the RunSQL function in the Text To SQL Retrieval component causes an authorization bypass through a user-controlled key (CWE-639). A remote attacker with low privileges can bypass authorization checks. The exploit has been released to the public.
Written with Claude Haiku 5.5 from the sources below · 2026-11-07
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| infiniflow | RAGFlow | 0.27.0; 0.27.1; 0.27.2; 1.0.0-rc1; 1.0.0-rc2 | — | No fix listed | CNA |
- RAGFlow Vendorinfiniflow Affected 0.27.0; 0.27.1; 0.27.2; 1.0.0-rc1; 1.0.0-rc2 Fixed in — No fix listed CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:* | — | — | infiniflow |
- cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:* Versions — — ·infiniflow
Remediation
The sources list no fixed version for InfiniFlow RAGFlow.
Written with Claude Haiku 5.5 from the sources below · 2026-11-07
Timeline
- 2026-11-03 Threatist record created from CVE-2026-121585
- 2026-11-04 Alias added: GHSA-qhwq-2pgm-vq8j
- 2026-11-07 CISA SSVC decision points changed
- 2026-11-07 Priority changed: LOW → MEDIUM
References
More infiniflow vulnerabilities
- TI-2026-19971 RAGFlow Affected by Zip Slip Remote Code Execution (RCE) in MinerUParser CVSS 3.1CRITICAL 9.8
- TI-2025-30545 Missing brute-force protection in infiniflow RAGFlow CVSS 3.1CRITICAL 9.8
- TI-2024-11535 Remote Code Execution in infiniflow/ragflow CVSS 3.0CRITICAL 9.8
- TI-2025-42731 RAGFlow has Predictable Token Generation Leading to Authentication Bypass Vulnerability CVSS 4.0HIGH 8.9
- TI-2025-19992 RAGFlow SQL Injection vulnerability CVSS 4.0HIGH 8.9
- TI-2026-33111 RAGFlow: Server-Side Template Injection in Prompt Generator leads to Remote Code Execution CVSS 3.1CRITICAL 9.9
Sources
- CVE-2026-121585 · CVE Program
- CVE-2026-121585 · NVD
- FIRST EPSS
- GHSA-qhwq-2pgm-vq8j · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences