Skip to content

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.

PackageAffectedFixed inStatus
infiniflow ragflow <= 0.24.0; = <= 0.24.0 after 0.24.0 Fixed

Affected products

ProductAffected versionsFixed in
infiniflow ragflow = <= 0.24.0 No fix listed
infiniflow ragflow <= 0.24.0 No fix listed

References