RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. In 0.24.0 and earlier, a Jinja2 template injection in the prompt generator (rag/prompts/generator.py) allows any authenticated user to execute arbitrary OS commands on the server. Any normal user can register, create a Canvas workflow with a DuckDuckGo + LLM component chain, and trigger the SSTI.
Metrics
Affected Vendors & Products
References
History
Fri, 29 May 2026 12:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. In 0.24.0 and earlier, a Jinja2 template injection in the prompt generator (rag/prompts/generator.py) allows any authenticated user to execute arbitrary OS commands on the server. Any normal user can register, create a Canvas workflow with a DuckDuckGo + LLM component chain, and trigger the SSTI. | |
| Title | RAGFlow: Server-Side Template Injection in Prompt Generator leads to Remote Code Execution | |
| Weaknesses | CWE-1336 | |
| References |
| |
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-05-29T12:24:07.996Z
Reserved: 2026-05-11T20:50:30.538Z
Link: CVE-2026-45312
No data.
Status : Received
Published: 2026-05-29T13:16:22.770
Modified: 2026-05-29T13:16:22.770
Link: CVE-2026-45312
No data.
OpenCVE Enrichment
Updated: 2026-05-29T13:30:44Z