CVE-2026-28797 RAGFlow: Server-Side Template Injection (SSTI) leading to Remote Code Execution (RCE) in Agent "Text Processing" Component
HighCVSS 8.7
EPSS 0.60%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| infiniflow ragflow | <= 0.24.0; = <= 0.24.0 | after 0.24.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| infiniflow ragflow | = <= 0.24.0 | No fix listed |
| infiniflow ragflow | <= 0.24.0 | No fix listed |
References
- https://github.com/infiniflow/ragflow/security/advisories/GHSA-vvwj-fvwh-4whx exploit mitigation vendor-advisory