CVE-2026-45312
Last modified
CVE-2026-45312 is a critical-severity vulnerability rated 9.9/10 on the CVSS scale. 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. EPSS estimates a 0.29% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-45312?
How severe is CVE-2026-45312?
How do I fix CVE-2026-45312?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-45306pyLoad is a free and open-source download manager written in…6.5
- CVE-2026-45307Speakr is a personal, self-hosted web application designed f…6.1
- CVE-2026-45309AsyncSSH is a Python package which provides an asynchronous …7.5
- CVE-2026-4531A weakness has been identified in Free5GC 4.1.0. Affected is…6.9
- CVE-2026-45310CodeWhale is a DeepSeek + MiMo coding agent in terminal. Pri…7.4
- CVE-2026-45311CodeWhale is a DeepSeek + MiMo coding agent in terminal. Fro…9.6
- CVE-2026-45313Sandboxie-Plus is an open source sandbox-based isolation sof…7.7
- CVE-2026-45314Open WebUI is a self-hosted artificial intelligence platform…6.1
- CVE-2026-45315Open WebUI is a self-hosted artificial intelligence platform…8.7
- CVE-2026-45316Open WebUI is a self-hosted artificial intelligence platform…3.5
- CVE-2026-45317Open WebUI is a self-hosted artificial intelligence platform…4.6
- CVE-2026-45318Open WebUI is a self-hosted artificial intelligence platform…5.4
Are you affected by CVE-2026-45312?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
