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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-1336",
"CWE-20",
"CWE-78",
"CWE-94"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28797.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "0.24.0"
}
],
"cpe": "cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:*",
"source": [
"AFFECTED_FIELD",
"CPE_RANGE"
]
}