Vulnerability · Published Feb 25, 2025 · Assigned by GitHub_M
CVE-2025-27135RAGFlow SQL Injection vulnerability
High 8.9
In plain English
A high-severity SQL injection in ragflow from infiniflow. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities).
Severity (CVSS 4.0)8.9High
Exploit odds (30 days)0.6%top 50.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| infiniflow | ragflow | <= 0.15.1 |
Weakness: CWE-89 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
References
- https://github.com/infiniflow/ragflow/security/advisories/GHSA-3gqj-66qm-25jq x_refsource_CONFIRM
- https://github.com/infiniflow/ragflow/blob/v0.15.1/agent/component/exesql.py x_refsource_MISC
- https://swizzky.notion.site/ragflow-exesql-150ca6df7c03806989cefde915cf8e42?pvs=4 x_refsource_MISC
- https://swizzky.notion.site/ragflow-exesql-150ca6df7c03806989cefde915cf8e42 exploit