製品・ソフトウェアに関する情報
infiniflowのragflowにおける複数の脆弱性
Title infiniflowのragflowにおける複数の脆弱性
Summary

RAGFlowはオープンソースのRAG(Retrieval-Augmented Generation)エンジンです。バージョン0.24.0およびそれ以前のバージョンには、RAGFlowのAgentワークフローのテキスト処理(StringTransform)およびメッセージコンポーネントにサーバーサイドテンプレートインジェクション(SSTI)脆弱性が存在します。これらのコンポーネントはPythonのjinja2.Template(サンドボックス未使用)を用いてユーザー提供テンプレートをレンダリングするため、認証された任意のユーザーがサーバー上で任意のOSコマンドを実行できます。発表時点で、公開された修正パッチは存在しません。

Possible impacts 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date April 3, 2026, midnight
Registration Date April 24, 2026, 11:31 a.m.
Last Update April 24, 2026, 11:31 a.m.
CVSS3.0 : 重要
Score 8.8
Vector CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected System
infiniflow
ragflow 0.24.0 およびそれ以前
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年04月24日]
  掲載
April 24, 2026, 11:31 a.m.

NVD Vulnerability Information
CVE-2026-28797
Summary

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.

Publication Date April 4, 2026, 7:16 a.m.
Registration Date April 15, 2026, 11:24 a.m.
Last Update April 23, 2026, 1:01 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:* 0.24.0
Related information, measures and tools
Common Vulnerabilities List