CVE-2025-27135
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.
Package Versions Affected
Automatically patch vulnerabilities without upgrading
CVSS Version



Related Resources
References
https://github.com/infiniflow/ragflow/blob/v0.15.1/agent/component/exesql.py, https://swizzky.notion.site/ragflow-exesql-150ca6df7c03806989cefde915cf8e42?pvs=4, https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27135.json, https://github.com/infiniflow/ragflow/security/advisories/GHSA-3gqj-66qm-25jq, https://nvd.nist.gov/vuln/detail/CVE-2025-27135, https://swizzky.notion.site/ragflow-exesql-150ca6df7c03806989cefde915cf8e42
