8.9High
CVE-2025-27135RAGFlow SQL Injection vulnerability
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.
Weakness (CWE):
CWE-89
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| infiniflow | ragflow | <= 0.15.1 |
References and patches
- https://github.com/infiniflow/ragflow/security/advisories/GHSA-3gqj-66qm-25jq Vendor Advisory
- https://github.com/infiniflow/ragflow/blob/v0.15.1/agent/component/exesql.py Product
- https://swizzky.notion.site/ragflow-exesql-150ca6df7c03806989cefde915cf8e42?pvs=4 Exploit
- https://swizzky.notion.site/ragflow-exesql-150ca6df7c03806989cefde915cf8e42 Exploit
CPE matches (NVD) (1)
cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:*≤ 0.15.1