top of page
perceptive_background_267k.jpg

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/g…

Published:

28 May 2026 at 22:00:00

Alert date:

29 May 2026 at 14:01:48

Source:

nvd.nist.gov

Click to open the original link from this advisory

Web Technologies, Enterprise Applications, Emerging Technologies

RAGFlow, an open-source Retrieval-Augmented Generation engine, contains a critical Server-Side Template Injection (SSTI) vulnerability in versions 0.24.0 and earlier. The vulnerability exists in the Jinja2 template injection within the prompt generator component (rag/prompts/generator.py). Any authenticated user can exploit this flaw to execute arbitrary operating system commands on the server. The attack can be triggered by creating a Canvas workflow with a DuckDuckGo + LLM component chain, making this a high-severity vulnerability that allows for remote code execution with minimal user privileges required.

Technical details

Mitigation steps:

Affected products:

RAGFlow

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Disclaimer: Deze website toont informatie afkomstig van externe bronnen. Perceptive aanvaardt geen verantwoordelijkheid voor de inhoud, juistheid of volledigheid van deze informatie.

bottom of page