CVE-2026-45312
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.
- Affected products
- Ragflow
- Fix
- Available
- CVSS 3.1
- 9.9 CRITICAL
- EPSS
- 0.3% (22th percentile)
- Weakness
- CWE-1336
- NVD status
- Deferred
- Published
- 2026-05-29
CVE-2026-45312 at NVD
No indexed exploits for CVE-2026-45312 yet
Our index is partial: it proves presence, never absence
No exploit for CVE-2026-45312 has been indexed yet. Our index is built from live traffic and upstream syncs, so this page can only say what it knows — not that no exploit exists.