Vulnerability in Infiniflow Ragflow
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.004 (38.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 39th percentile — 38.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.004 · change: -0.001
Affected products
- Infiniflow Ragflow — versions <= 0.24.0
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-45312?
- CVE-2026-45312 is a critical-severity vulnerability in Infiniflow Ragflow, classified under Improper Neutralization of Special Elements Used in a Template Engine. CVSS score: 9.9/10. Published 2026-05-29.
- How severe is CVE-2026-45312?
- Critical severity. CVSS v3 base score is 9.9 out of 10.