Back to overview

CVE-2026-45312

CRITICAL Exploitation: PoC
9.9
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-45312
State
PUBLISHED
Assigner
GitHub_M
Reserved
2026-05-11 20:50 UTC
Published
2026-05-29 12:24 UTC
Last updated
2026-06-02 01:02 UTC
Primary CWE
CWE-1336
CWE-1336: Improper Neutralization of Special Elements Used i…
Vendor / Product
infiniflow / ragflow
Sources
cve.org  ·  NVD

Severity & Metrics

9.9 CRITICAL CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
SSVC — CISA Coordinator
Exploitation
PoC
Automatable
no
Tech. Impact
total
Affected products (1)
VendorProductPlatformVersions
infiniflow ragflow <= 0.24.0
Weakness (CWE)
CWESourceDescription
CWE-1336 cna CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
CVSS scores (1)
ScoreSeverityVersionSourceVector
9.9 CRITICAL 3.1 cna CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References (1)
Back to overview