CVE-2026-121585
published medium CVSS 4.0 · 5.3InfiniFlow RAGFlow Text To SQL Retrieval sql.go RunSQL authorization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| InfiniFlow | — | RAGFlow0.27.0 · 0.27.1 · 0.27.2 · 1.0.0-rc1 · 1.0.0-rc2 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.3 | medium | VulDB · cna | 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 | — |
| 3.0 | 4.3 | medium | VulDB · cna | 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 | — |
| 2.0 | 4.0 | medium | VulDB · cna | AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| InfiniFlow | RAGFlow | 0.27.0 (affected)0.27.1 (affected)0.27.2 (affected)1.0.0-rc1 (affected)1.0.0-rc2 (affected) | VulDB · cna |
Weaknesses
2- CWE-639 Authorization Bypass
- CWE-285 Improper Authorization
References
8- https://github.com/ZSH402/RAGFlow-Cross-Tenant-Read
- https://github.com/infiniflow/ragflow/
- https://github.com/infiniflow/ragflow/issues/15123
- https://github.com/infiniflow/ragflow/pull/15124
- CVE-2026-121585 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-121585
- Submit #1020561 | InfiniFlow RAGFlow 1.0.0-rc1 Authorization Bypass https://vuldb.com/submit/1020561
- VDB-430429 | InfiniFlow RAGFlow Text To SQL Retrieval sql.go RunSQL authorization https://vuldb.com/vuln/430429
- VDB-430429 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/430429/cti
Provider assertions
2VulDB · cna
InfiniFlow RAGFlow Text To SQL Retrieval sql.go RunSQL authorization
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c066e0b3785d8e516957de2e521fea2817d8fbc3f5e96801091c8469ebfc2051
- Ingested
- 07 Nov 2026, 23:40:15 UTC
- Source record
- Official CVE record