CVE-2026-45312: Vulnerability in Infiniflow Ragflow
Critical. 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.
CWE-1336
- Exploitation
- None confirmed
- Severity
- 9.9 of 10
- Attack likelihood
- 0.5 % in 30 days
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- EU ID
- EUVD-2026-33284
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Weakness
- CWE-1336
- Published
- 29 May 2026
- Last change
- 21 Jul 2026
- Likelihood rank
- Higher than 37 % of all rated vulnerabilities
- Analysis status
- Deferred
Affected products
Affected versions and the first fixed release
- Infiniflow Ragflow Version <= 0.24.0. No fixed version recorded
Advisories
Vendor and security advisories
Related
- Ragflow vulnerabilities Recent advisories, watch this product