CVE-2026-28797: CWE-20: Improper Input Validation in infiniflow ragflow
RAGFlow versions 0. 24. 0 and earlier contain a Server-Side Template Injection (SSTI) vulnerability in the Agent workflow's Text Processing and Message components. These components use Python's jinja2. Template without sandboxing to render user-supplied templates, enabling any authenticated user to execute arbitrary operating system commands on the server. No patches or official fixes are available at the time of publication. The vulnerability has a high severity score of 8. 7 CVSS 4. 0. There are no known exploits in the wild currently.
AI Analysis
Technical Summary
RAGFlow, an open-source Retrieval-Augmented Generation engine, suffers from a Server-Side Template Injection vulnerability in versions up to 0.24.0. The vulnerability arises because the Agent workflow's Text Processing (StringTransform) and Message components render user-supplied templates using Python's jinja2.Template in an unsandboxed manner. This improper input validation allows authenticated users to execute arbitrary OS commands on the server hosting RAGFlow. The CVSS 4.0 base score is 8.7, reflecting network attack vector, low attack complexity, no user interaction, and high impacts on confidentiality, integrity, and availability. No vendor patches or mitigations are currently available.
Potential Impact
Successful exploitation allows any authenticated user to execute arbitrary operating system commands on the server running RAGFlow. This can lead to full compromise of the server, including unauthorized data access, modification, or service disruption. The vulnerability affects confidentiality, integrity, and availability of the affected system. No known exploits are reported in the wild at this time.
Mitigation Recommendations
At the time of this report, no official patches or fixes are available for this vulnerability. Users should avoid deploying vulnerable versions (0.24.0 and earlier) in production environments. Restrict access to authenticated users only and monitor for suspicious activity. Follow the vendor's advisory for updates and apply patches promptly once they become available.
CVE-2026-28797: CWE-20: Improper Input Validation in infiniflow ragflow
Description
RAGFlow versions 0. 24. 0 and earlier contain a Server-Side Template Injection (SSTI) vulnerability in the Agent workflow's Text Processing and Message components. These components use Python's jinja2. Template without sandboxing to render user-supplied templates, enabling any authenticated user to execute arbitrary operating system commands on the server. No patches or official fixes are available at the time of publication. The vulnerability has a high severity score of 8. 7 CVSS 4. 0. There are no known exploits in the wild currently.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
RAGFlow, an open-source Retrieval-Augmented Generation engine, suffers from a Server-Side Template Injection vulnerability in versions up to 0.24.0. The vulnerability arises because the Agent workflow's Text Processing (StringTransform) and Message components render user-supplied templates using Python's jinja2.Template in an unsandboxed manner. This improper input validation allows authenticated users to execute arbitrary OS commands on the server hosting RAGFlow. The CVSS 4.0 base score is 8.7, reflecting network attack vector, low attack complexity, no user interaction, and high impacts on confidentiality, integrity, and availability. No vendor patches or mitigations are currently available.
Potential Impact
Successful exploitation allows any authenticated user to execute arbitrary operating system commands on the server running RAGFlow. This can lead to full compromise of the server, including unauthorized data access, modification, or service disruption. The vulnerability affects confidentiality, integrity, and availability of the affected system. No known exploits are reported in the wild at this time.
Mitigation Recommendations
At the time of this report, no official patches or fixes are available for this vulnerability. Users should avoid deploying vulnerable versions (0.24.0 and earlier) in production environments. Restrict access to authenticated users only and monitor for suspicious activity. Follow the vendor's advisory for updates and apply patches promptly once they become available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-03T14:25:19.245Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d038800a160ebd925f4637
Added to database: 4/3/2026, 10:00:32 PM
Last enriched: 4/3/2026, 10:15:29 PM
Last updated: 4/3/2026, 11:13:46 PM
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.