CVE-2026-121585
CVE-2026-121585 — InfiniFlow 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.
Published Updated Sources: cvelistV5, VulDB
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
4.3
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
PoC
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 4.3 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-639
- CWE-285
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1574.010Hijack Execution Flow: ServicesFile Permissions Weakness
- T1083File and Directory Discovery
- T1562.003Impair Defenses: Impair Command History Logging
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /1.0.0-rc2, /engine/infinity/sql.go, /kbIDs.
References
8 on the record
- vuldb.com/vuln/430429
vdb-entry, technical-description
- vuldb.com/vuln/430429/cti
signature, permissions-required
- vuldb.com/cve/CVE-2026-121585
third-party-advisory
- vuldb.com/submit/1020561
third-party-advisory
- github.com/infiniflow/ragflow/issues/15123
broken-link, issue-tracking
- github.com/infiniflow/ragflow/pull/15124
issue-tracking, patch
- github.com/ZSH402/RAGFlow-Cross-Tenant-Read
exploit
- github.com/infiniflow/ragflow/
product
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-121928 InfiniFlow RAGFlow Images API file_utils.py cross site scriptingCVSS 3.5
- CVE-2021-28799 QNAP NAS Improper Authorization VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-55255 Langflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowCVSS 8.4 · CISA KEV
- CVE-2026-58704 Google Pixel Improper Authorization VulnerabilityCVSS 8.0 · CISA KEV
- CVE-2018-13382 Fortinet FortiOS and FortiProxy Improper AuthorizationCVSS 7.5 · CISA KEV
- CVE-2026-137043 TOTOLINK N350RT cstecgi.cgi setLanguageCfg authorizationCVSS 10.0
Elsewhere on this site
- Infiniflowevery CVE for this vendor
- CWE-639other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.