- Description
- RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. In versions 0.24.0 and prior, a Server-Side Template Injection (SSTI) vulnerability exists in RAGFlow's Agent workflow Text Processing (StringTransform) and Message components. These components use Python's jinja2.Template (unsandboxed) to render user-supplied templates, allowing any authenticated user to execute arbitrary operating system commands on the server. At time of publication, there are no publicly available patches.
- Source
- security-advisories@github.com
- NVD status
- Analyzed
- Products
- ragflow
CVSS 4.0
- Type
- Secondary
- Base score
- 8.7
- Impact score
- -
- Exploitability score
- -
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Severity
- HIGH
CVSS 3.1
- Type
- Secondary
- Base score
- 8.8
- Impact score
- 5.9
- Exploitability score
- 2.8
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Severity
- HIGH
- security-advisories@github.com
- CWE-20
- Hype score
- Not currently trending
AI security isn't just about the model. The real attack surface includes the workflows, tools, APIs, credentials and runtime around it. RAGFlow shows why. CVE-2026-45312 and CVE-2026-28797 turned Jinja2 SSTI into remote code execution.
@DaddyQuah
16 Sept 2026
37 Impressions
0 Retweets
2 Likes
0 Bookmarks
0 Replies
0 Quotes
AI security isn't just about the model. The real attack surface includes the workflows, tools, APIs, credentials and runtime around it. RAGFlow shows why. CVE-2026-45312 and CVE-2026-28797 turned Jinja2 SSTI into remote code execution.
@one_blues_fan
16 Sept 2026
26 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
[
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:*",
"matchCriteriaId": "C4B649E9-6336-4DAB-A111-5D0503CA4A5C",
"versionEndIncluding": "0.24.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
]