Read the docs

Template injection in InfiniFlow RAGFlow Canvas StringTransform

Priority MEDIUM 57CWE-1336Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
infiniflowRAGFlow1.0—No fix listedCNA
  • RAGFlow Vendorinfiniflow Affected 1.0 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
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

  1. 2026-12-03 Threatist record created from CVE-2026-143864
  2. 2026-12-03 CISA SSVC decision points changed
  3. 2026-12-03 Alias added: GHSA-3g49-9qjf-633f

References

  • 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
See all 26 →

Sources