Vulnerabilities · 2025 · Infiniflow
CVE-2025-27135
Infiniflow Ragflow vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Ragflow. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Infiniflow Ragflow runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/infiniflow/ragflow/security/advisories/GHSA-3gqj-66qm-25jq · Vendor Advisory
- swizzky.notion.site/ragflow-exesql-150ca6df7c03806989cefde915cf8e42?pvs=4 · Exploit
- swizzky.notion.site/ragflow-exesql-150ca6df7c03806989cefde915cf8e42 · Exploit
- github.com/infiniflow/ragflow/blob/v0.15.1/agent/component/exesql.py
- nvd.nist.gov/vuln/detail/CVE-2025-27135
- cve.org/CVERecord?id=CVE-2025-27135
More vulnerabilities in Infiniflow products
CVE-2026-24770CVE-2025-69286CVE-2025-68700CVE-2025-51462CVE-2025-48187CVE-2025-25282CVE-2024-53450CVE-2024-12880All 15
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.