CVE-2026-28797

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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:*

History

22 Apr 2026, 16:01

Type Values Removed Values Added
References () https://github.com/infiniflow/ragflow/security/advisories/GHSA-vvwj-fvwh-4whx - () https://github.com/infiniflow/ragflow/security/advisories/GHSA-vvwj-fvwh-4whx - Exploit, Mitigation, Vendor Advisory
CPE cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:*
First Time Infiniflow ragflow
Infiniflow

06 Apr 2026, 20:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.8

03 Apr 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-03 22:16

Updated : 2026-04-22 16:01


NVD link : CVE-2026-28797

Mitre link : CVE-2026-28797

CVE.ORG link : CVE-2026-28797


JSON object : View

Products Affected

infiniflow

  • ragflow
CWE
CWE-20

Improper Input Validation

CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CWE-94

Improper Control of Generation of Code ('Code Injection')

CWE-1336

Improper Neutralization of Special Elements Used in a Template Engine