RAGFlow Server-Side Template Injection in Agent workflow
CVE-2026-28797High
RAGFlow versions 0.24.0 and prior use unsandboxed Jinja2 templates in the StringTransform and Message components of Agent workflows. An authenticated user can supply malicious template code that executes arbitrary operating system commands on the server. An attacker needs valid authentication credentials to exploit this vulnerability.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS history builds daily
Detail
Weakness: CWE-1336 (opens in a new tab), CWE-20 (opens in a new tab), CWE-78 (opens in a new tab), CWE-94 (opens in a new tab)
Affected versions
- infiniflow ragflow: up to 0.24.0