PT-2026-30249 · Ragflow · Ragflow
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
RAGFlow versions prior to 0.24.0
Description
An issue exists in the Agent workflow Text Processing (StringTransform) and Message components. These components utilize an unsandboxed Python
jinja2.Template to render templates provided by users. This allows an authenticated user to perform Server-Side Template Injection (SSTI), a technique where an attacker injects malicious code into a template that is then executed on the server, leading to the execution of arbitrary operating system commands.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Restrict the use of the Text Processing (StringTransform) and Message components within the Agent workflow to minimize the risk of exploitation.
Exploit
OS Command Injection
Code Injection
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Ragflow