PatchSiren cyber security CVE debrief
CVE-2026-28797 Infiniflow CVE debrief
CVE-2026-28797 is a Server-Side Template Injection (SSTI) vulnerability in RAGFlow, an open-source RAG (Retrieval-Augmented Generation) engine. The vulnerability exists in the Agent workflow Text Processing (StringTransform) and Message components, which use Python's jinja2.Template (unsandboxed) to render user-supplied templates. This allows any authenticated user to execute arbitrary operating system commands on the server. The vulnerability has a CVSS score of 8.7 and is considered HIGH severity.
- Vendor
- Infiniflow
- Product
- Ragflow
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-04-03
- Original CVE updated
- 2026-07-24
- Advisory published
- 2026-04-03
- Advisory updated
- 2026-07-24
Who should care
Users of RAGFlow version 0.24.0 and prior should be aware of this vulnerability and take immediate action to mitigate the risk. This includes Infiniflow users, developers, and administrators who manage RAGFlow deployments.
Technical summary
The vulnerability is caused by the use of unsandboxed jinja2.Template in RAGFlow's Agent workflow Text Processing (StringTransform) and Message components. This allows an authenticated user to inject malicious templates, leading to arbitrary operating system command execution on the server. The CVSS vector for this vulnerability is 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.
Defensive priority
High priority should be given to patching or mitigating this vulnerability, as it allows for arbitrary operating system command execution on the server.
Recommended defensive actions
- Apply patches or updates to RAGFlow version 0.24.0 and prior to prevent exploitation.
- Implement compensating controls, such as monitoring and logging, to detect potential exploitation attempts.
- Restrict access to the Agent workflow Text Processing (StringTransform) and Message components to only trusted users.
- Consider implementing additional security measures, such as input validation and sanitization, to prevent similar vulnerabilities.
- Perform a thorough review of system logs to identify potential exploitation attempts.
- Conduct an asset inventory to identify all systems that may be affected by this vulnerability.
- Establish a rollback change window to quickly recover from potential exploitation.
Evidence notes
The CVE record was published on 2026-04-03T22:16:26.320Z and was last modified on 2026-07-24T22:10:00.140Z. The NVD entry is currently Analyzed. The vulnerability is tracked under CWE-20, CWE-78, CWE-94, and CWE-1336.
Official resources
-
CVE-2026-28797 CVE record
CVE.org
-
CVE-2026-28797 NVD detail
NVD
-
Source item URL
nvd_modified
-
Mitigation or vendor reference
[email protected] - Exploit, Mitigation, Vendor Advisory
AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-04-03T22:16:26.320Z and has not been modified since then. The NVD entry is currently Analyzed.