CVE-2026-28797RAGFlow: Server-Side Template Injection (SSTI) leading to Remote Code Execution (RCE) in Agent "Text Processing" Component
Description
RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. In versions 0.24.0 and prior, a Server-Side Template Injection (SSTI) vulnerability exists in RAGFlow's Agent workflow Text Processing (StringTransform) and Message components. These components use Python's jinja2.Template (unsandboxed) to render user-supplied templates, allowing any authenticated user to execute arbitrary operating system commands on the server. At time of publication, there are no publicly available patches.
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.24.0 |
References and patches
- https://github.com/infiniflow/ragflow/security/advisories/GHSA-vvwj-fvwh-4whx ExploitMitigationVendor Advisory
CPE matches (NVD) (1)
cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:*≤ 0.24.0