CVE-2026-45312
criticalpriority · track · 0EPSS 0.004 · 39 %ileEUEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (1)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (4)
External citations — patches, advisories, analysis.
- https://github.com/infiniflow/ragflow/releasesPatchcnnvd
- https://github.com/infiniflow/ragflow/security/advisories/GHSA-wpg4-h5g2-jxm6cnnvd
- https://github.com/infiniflow/ragflow/security/advisories/GHSA-wpg4-h5g2-jxm6enisa_euvd
- https://github.com/infiniflow/ragflow/security/advisories/GHSA-wpg4-h5g2-jxm6nvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan