Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2026-45312— RAGFlow: Server-Side Template Injection in Prompt Generator leads to Remote Code Execution

CVSS 9.9 · Critical
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-45312

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
RAGFlow: Server-Side Template Injection in Prompt Generator leads to Remote Code Execution
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
CWE-1336
Source: NVD (National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
infiniflowragflow <= 0.24.0 -

II. Public POCs for CVE-2026-45312

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-45312

登录查看更多情报信息。

Vendor Advisories for CVE-2026-45312 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-45312

No comments yet


Leave a comment