Description
RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. Versions 0.15.1 and prior are vulnerable to SQL injection. The ExeSQL component extracts the SQL statement from the input and sends it directly to the database query. As of time of publication, no patched version is available.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| infiniflow | ragflow | <= 0.15.1 |
References
- https://github.com/infiniflow/ragflow/blob/v0.15.1/agent/component/exesql.pyProduct
- https://github.com/infiniflow/ragflow/security/advisories/GHSA-3gqj-66qm-25jqVendor Advisory
- https://swizzky.notion.site/ragflow-exesql-150ca6df7c03806989cefde915cf8e42?pvs=4Exploit
- https://swizzky.notion.site/ragflow-exesql-150ca6df7c03806989cefde915cf8e42Exploit
Timeline
- Published
- Feb 25, 2025
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed