CVE-2026-28797

Severity CVSS v4.0:
HIGH
Type:
CWE-20 Input Validation
Publication date:
03/04/2026
Last modified:
22/04/2026

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:* 0.24.0 (including)