← Database

CVE-2026-28797

HIGH CVSS: 8.8 Published: 2026-04-03 Modified: 2026-07-24

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.

Affected Platforms

Infiniflow Ragflow

Weakness Type

CWE-20, CWE-78, CWE-94, CWE-1336

References