Template injection in InfiniFlow RAGFlow Canvas StringTransform
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-1336.
Summary
InfiniFlow RAGFlow up to 1.0.0 contains a flaw in the ResolveTemplateJinja function of the Canvas StringTransform handler, where the script argument is not properly neutralized before it reaches the template engine (CWE-1336). A remote attacker with low privileges can exploit this without user interaction. A public exploit is available and might be used. The vendor was contacted early about this disclosure but did not respond.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
Description from the CNA
A vulnerability was identified in InfiniFlow RAGFlow up to 1.0.0. This vulnerability affects the function ResolveTemplateJinja of the file internal/agent/runtime/template_jinja.go of the component Canvas StringTransform Handler. Such manipulation of the argument script leads to improper neutralization of special elements used in a template engine. The attack can be executed remotely. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure but did not respond in any way.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| infiniflow | RAGFlow | 1.0 | — | No fix listed | CNA |
- RAGFlow Vendorinfiniflow Affected 1.0 Fixed in — No fix listed CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:* | — | — | infiniflow |
- cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:* Versions — — ·infiniflow
Remediation
The sources list no fixed version for InfiniFlow RAGFlow.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
Timeline
- 2026-12-03 Threatist record created from CVE-2026-143864
- 2026-12-03 CISA SSVC decision points changed
- 2026-12-03 Alias added: GHSA-3g49-9qjf-633f
References
More infiniflow vulnerabilities
- TI-2026-19971 RAGFlow Affected by Zip Slip Remote Code Execution (RCE) in MinerUParser CVSS 3.1CRITICAL 9.8
- TI-2025-30545 Missing brute-force protection in infiniflow RAGFlow CVSS 3.1CRITICAL 9.8
- TI-2024-11535 Remote Code Execution in infiniflow/ragflow CVSS 3.0CRITICAL 9.8
- TI-2025-42731 RAGFlow has Predictable Token Generation Leading to Authentication Bypass Vulnerability CVSS 4.0HIGH 8.9
- TI-2025-19992 RAGFlow SQL Injection vulnerability CVSS 4.0HIGH 8.9
- TI-2026-33111 RAGFlow: Server-Side Template Injection in Prompt Generator leads to Remote Code Execution CVSS 3.1CRITICAL 9.9
Sources
- CVE-2026-143864 · CVE Program
- CVE-2026-143864 · NVD
- GHSA-3g49-9qjf-633f · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences