CRITICAL · CVSS 9.8 Published: 2025-02-25
CVE-2025-27135 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2025-27135 |
|---|---|
| Base Severity / Score | CRITICAL (9.8 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Weakness Classification | CWE-89 |
| Archive Categories | CRITICAL Advisories · 2025 Index |
Operational Mitigation Guidance
Immediate patching or compensating network isolation is strongly advised. Audit perimeter exposure, apply vendor security updates immediately, and restrict service privileges using least-privilege namespaces. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/infiniflow/ragflow/blob/v0.15.1/agent/component/exesql.py
- https://github.com/infiniflow/ragflow/security/advisories/GHSA-3gqj-66qm-25jq
- https://swizzky.notion.site/ragflow-exesql-150ca6df7c03806989cefde915cf8e42?pvs=4
Related Security Advisories
CVE-2025-27134 HIGH 8.8
CVE-2025-27138 CRITICAL 9.8
CVE-2025-27140 CRITICAL 9.8
CVE-2025-27154 CRITICAL 9.8
CVE-2025-27203 CRITICAL 9.6
CVE-2025-27224 CRITICAL 9.8
CVE-2025-27258 CRITICAL 9.8